|
From: Thomas S. <t.s...@fz...> - 2009-12-04 14:09:53
|
Minwoong Joe <mjoe122 <at> gmail.com> writes: > > I think writeback or restore option in xrange cannot help to solve my > problem. > > For example, > > set xrange[0:1100] (with any option) > p 'temp.dat' u 1:2 w lp #last snapshot > # to draw 1st snapshot, i use > p[0:100] 'temp.dat' u 1:2 w lp > # then the range of x immediately change to 0-100 not fixed range of 0-1100. > I can't do that by using xrange option. > > In the help, > They used funtion such as sin(x) and x/2 not a data. Here is a point. > >From one data, I should draw part of one graph under fixed xrange. > To do so, I have to use p[0:100], p[100:200], and so on. Then I can't fix > the xrange. > > Joe > > > > > > > Step Temp > > > 0 122 > > > 100 102 > > > 200 112 > > > 300 122 > > > 400 153 > > > 500 143 > > > 600 111 > > > 700 132 > > > 800 142 > > > 900 152 > > > 1000 102 > > > 1100 112 > > > ... selecting the data points by changing the xrange is not the appropriate way to go - the 'every' option of the plot command should be used instead: set xrange [0:1100] plot 'temp.dat' using 1:2 every 1::0::0 with linespoints plot 'temp.dat' using 1:2 every 1::0::1 with linespoints plot 'temp.dat' using 1:2 every 1::0::2 with linespoints ... |