Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

RE: How create vertical line using Plot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104259] RE: [mg104232] How create vertical line using Plot?
  • From: Tomas Garza <tgarza10 at msn.com>
  • Date: Sun, 25 Oct 2009 01:07:42 -0400 (EDT)
  • References: <200910240641.CAA07613@smc.vnet.net>

One possibility is using Epilog:

Plot[Sin[x],{x,0,2}, Epilog->Line[{{1,0},{1,10}}]]

- Tomas

> Date: Sat, 24 Oct 2009 02:41:18 -0400
> From: davidfrick2003 at yahoo.com
> Subject: [mg104232] How create vertical line using Plot?
> To: mathgroup at smc.vnet.net
>
> How can I create a vertical line using the Plot command?
>
> I can hack it using "y" = very big number times "x" but is there a
> more elegant way to do it?
>
 		 	   		  =



  • Prev by Date: Re: How to format Superscript and Subscript for a symbol to the same vertical level??
  • Next by Date: Re: ReplaceAll and rules from a list v7.0
  • Previous by thread: RE: How create vertical line using Plot?
  • Next by thread: Re: How create vertical line using Plot?