#1375 Zoom-around-mouse is imprecise

open
nobody
None
5
2015-03-23
2014-04-09
dima
No

I see some unpleasant jumping of the zoom point sometimes. Try this:

  1. x11 terminal, plot sin(x)*x
  2. move mouse anywhere in the plot
  3. press 'r' to turn on a ruler
  4. Do not move the mouse; press '+' repeatedly to zoom in

Ideally the mouse position would be a fixed point of the zooming action, so the ruler should remain motionless at the mouse point. This sorta happens, but the ruler jumps around a bit.

The culprit is the changing width of the y-axis tic labels. Issuing 'set ytics format "%.2f"' largely fixes the jumping. I'm not sure what the best way to fix this is, but I REALLY feel like zooming into the mouse-centered ruler should be stable.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks