help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to draw a vertical line?


From: John W. Eaton
Subject: Re: How to draw a vertical line?
Date: Fri, 29 Sep 2006 16:30:02 -0400

On 29-Sep-2006, Doug Stewart wrote:

| jian Xu wrote:
| > Hi,
| > How to draw a vertical line, say from (x,0) to (x,5)?  Thanks a lot!
| >
| > Jian
| > _______________________________________________
| > Help-octave mailing list
| > address@hidden
| > https://www.cae.wisc.edu/mailman/listinfo/help-octave
| >
| >   
| plot(x,0,x,5)

This doesn't plot a vertical line for me.  Maybe you meant

  plot ([x; x], [0; 5])

?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]