From: Petr M. <mi...@ph...> - 2012-09-25 06:07:43
|
> I'm curious whether I'm the only one experiencing this problem or if > this appears to be "a feature" rather than a bug in the eyes of > developers. > > If I use > plot [0:] 'datafile.dat' ... > then I'm unable to zoom into the desired region of a plot with a mouse > by selecting the desired rectangle. It zooms properly to the y axis > and (usually) to the right of x axis, but the left of x axis always > stays at zero which is a bit annoying. This does neither work by design: gnuplot> plot [1:10] sin(x)/x gnuplot> set xrange [5:8]; replot So why do you use plot [x1:x2] instead of set xrange [x1:x2]? Anayway, Ethan has recently pushed a patch for 4.7 that allows zooming in both axes even if you explicitly disable it via plot [] [] > Also, the mouse movement (moving wheel to left & right) which usually > moves the graph to left & right is now zooming in & out instead of > moving the graph. Wheel left and right? Do you have a trackball? I thought it works just as mouse upside-down. The zooming in-out by +/- hotkeys and mouse wheel up/down implements my patch [ gnuplot-Patches-3537423 ] zoom by mouse wheel and hotkeys but it's not yet in sources so you have probably applied it yourself. The patch needs some testing ... because people using mouse with wheel like zoom-in/out but people using touchpad expect scrolling instead (even though it is rather useless for 2d graphs). --- Petr |