|
From: Ethan M. <merritt@u.washington.edu> - 2011-06-22 00:45:37
|
On Tuesday, June 21, 2011 05:15:40 pm Jan Simon wrote: > > The plot range is by default extended to the next axis tick mark, > > in your case at x=70. > > > > If you don't want it to do that, you can say > > set autoscale fix > > My concern is the red line (f(x)), not the green dots (data), they are > fine. The line is drawn to cover the range of the data. The plot boundary is drawn (by default) at the next tick mark. If you want these two things to be the same, then say set autoscale fix or more specifically set autoscale xfixmax > > That doesn't ring any bells. > > Can't you just output pdf to begin with? (set term pdf) > > Using set term pdf, plot data and replot f(x) gives me an output only > with data, f(x) is missing. The command sequence above will produce 2 pages of output. The first page will have the data; the second page will have both the data and the function. I've checked here that it works as expected. Do you really want a separate "replot" command? Ethan |