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: [mg104242] Re: How create vertical line using Plot?
  • From: ADL <alberto.dilullo at tiscali.it>
  • Date: Sun, 25 Oct 2009 01:04:32 -0400 (EDT)
  • References: <hbu7s7$7ic$1@smc.vnet.net>

You can use Epilog:

  Plot[Sin[x], {x, 0, 1}, Epilog -> Line[{{.5, 0}, {.5, 1}}]]

creates a vertical line.

ADL

On Oct 24, 8:46 am, davef <davidfrick2... at yahoo.com> wrote:
> 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 create vertical line using Plot?
  • Next by Date: Re: How create vertical line using Plot?
  • Previous by thread: Re: How create vertical line using Plot?
  • Next by thread: Re: How create vertical line using Plot?