|
From: Thomas S. <t.s...@fz...> - 2008-05-14 18:30:31
|
> Is it possible to plot a straight line like x=3, 1<y<2, without using "set arrow"? gnuplot is able to plot functions and data. a vertical line isn't a function, but it may be plotted by giving its two endpoints: ------------------------------------------------------------ set xrange [-pi:pi] set yrange [-1.1:1.1] # function plus # 3 lines: # from 3.0,-0.5 to 3.0,1.0 # from 2.0,-0.8 to 2.0,0.9 # from -1.0,-1.0 to -1.0,1.0 plot sin(x), "-" with lines 3.0 -0.5 3.0 1.0 2.0 -0.8 2.0 0.9 -1.0 -1.0 -1.0 1.0 e ------------------------------------------------------------ -- View this message in context: http://www.nabble.com/plot-range-tp17079869p17237917.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |