From: Daniel J S. <dan...@ie...> - 2004-08-09 00:24:37
|
Hans-Bernhard Broeker wrote: >On Thu, 5 Aug 2004, Daniel J Sebald wrote: > > > >>set xrange [0:1.99805] >>set grid >>plot sin(x) >>set xrange [0:2] >>replot >>set xrange [0:1.99805] >>replot >> >> <snip> >SIGNIF is 0.01, and that's the whole story. It would be tempting to just >get rid of that line fiddling around with 'end', but I doubt that's a >smart idea --- I'm quite sure this line was put there for a good reason. >The test case is quite unrealistic, actually --- users would almost >certainly never make such a choice consciously. > But Octave is the one that chooses it; as part of the freqz() command, and because I chose the number of FFT points to be a power of 2, for efficiency. >>If you run gnuplot without the -nofeedback option, the feedback will >>slightly readjust the x length and the rounding will behave differently. >> >> > >If so, that's another likely bug. > It's not a bug, gnuplot_x11 is being fed a tic position slightly outside the border position, it just happens that when quantized, these two positions map to the same x-pixel location. Dan |