In data file 'data.dat' put the lines
1 0.5
9 0.5
Then try the following from gnuplot's command line:
gnuplot> set xrange [0:10]
gnuplot> plot sin(x), 'data.dat' with line
There's a green line. Now
gnuplot> set xrange [2:8]
gnuplot> replot
and there's no green line anymore. Shouldn't there be a line visible?
Dan
|