MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to plot a parellal line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72138] Re: How to plot a parellal line
  • From: "Narasimham" <mathma18 at hotmail.com>
  • Date: Wed, 13 Dec 2006 06:40:12 -0500 (EST)
  • References: <elgma9$hak$1@smc.vnet.net>

Swati Agrawal wrote:

> I am a new Mathematica user.  I can't find a way to graph a  line
> parallel to the y or something like x-5=0.

Hi Jyothi/Swathi,

ParametricPlot[{5,y},{y,-4,6},AspectRatio->Automatic,GridLines->Automatic];

(* Just play with the above command choosing any functions for x or y,
you have an automatic grid plotting available, for example: *)

ParametricPlot[{y^2 - 4y +3,y},{y,4,-1},AspectRatio->Automatic,
GridLines->Automatic];
ParametricPlot[{x^1 - 4x^3 +3,x},{x,1,-1},AspectRatio->Automatic,
GridLines->Automatic];


  • Prev by Date: Re: Problem with text rendering on Linux.
  • Next by Date: How to use the max value from the solution of NDSolve ?
  • Previous by thread: Re: How to plot a parellal line
  • Next by thread: Re: How to plot a parellal line