gerbilvis / gerbil

Gerbil Hyperspectral Visualization and Analysis Framework
http://gerbilvis.org
GNU General Public License v3.0
43 stars 15 forks source link

Improved panning/zooming and axes drawing in Viewport #2

Closed ajaskier closed 9 years ago

ypnos commented 9 years ago

Looks great! Can you fix the following problem: When adjusting the number of bins while zoomed, the zoom gets corrupted in x-direction. zooming out reveals the effect (the view is too narrow). Also, the y-coordinate is reset. I guess that might not be easily fixable (can you recompute it from the ratio old number of bins vs new number of bins?). If it is not fixable the zoom should be completely reset to not confuse the user.

ypnos commented 9 years ago

In master, the y-axis text '0' is indeed at the zero point in the data and stays there. In this branch it moves upwards the bigger the view is. Can this be fixed?

ypnos commented 9 years ago

single in drawBins needs to be fixed (I do this)