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: [mg72071] Re: How to plot a parellal line
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Mon, 11 Dec 2006 04:54:40 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <elgma9$hak$1@smc.vnet.net>

Swati Agrawal wrote:
> Dear Mathgroup,
> 
> 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.

You could use the graphics primitive Line[]. For instance,

Plot[Exp[-x^2/2]/Sqrt[2*Pi], {x, -4, 4},
    Epilog -> {Line[{{2, 0}, {2, 0.4}}]}];

Regards,
Jean-Marc


  • Prev by Date: solution of three variables
  • Next by Date: Re: How to plot a parellal line
  • Previous by thread: Re: How to plot a parellal line
  • Next by thread: Re: How to plot a parellal line