Re: How create vertical line using Plot?
- To: mathgroup at smc.vnet.net
- Subject: [mg104256] Re: How create vertical line using Plot?
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sun, 25 Oct 2009 01:07:09 -0400 (EDT)
- References: <hbu7s7$7ic$1@smc.vnet.net>
On 2009.10.24. 8:46, davef 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?
>
Why don't you use Graphics directly?
Graphics[Line[{{1, 0}, {1, 1}}], Axes -> True]
You didn't say what you need that vertical line for. Perhaps
Mathematica already has built-in functionality for what you want. Look
up Exclusions and GridLines.