From: John H. <jdh...@ac...> - 2003-11-16 13:56:23
|
>>>>> "Gary" == Gary Ruben <ga...@em...> writes: Gary> I think it's important to always have an easy way of zooming Gary> out to show the full plot, so if you implement your saved Gary> view idea and don't want to add a 'fit to full data' button, Gary> I think having a 'fit to full data' checkpoint automatically Gary> added is important. It might be even be worth looking into Gary> cacheing the full view to speed its rendering. That way, you Gary> could quickly navigate by zooming to full and then using a Gary> rectangle zoom to your area of interest. Combining my original thoughts with yours and Charles, then. How about the following? Allow the user to select the old style toolbar from a config file, but the new toolbar would 1) lose all the left, right, up down buttons, in favor of a single 'hand' icon that allows you to move the view limits by 'grabbing them in the axes and moving them around. With x or y key pressed the pan motion will be contained to the respective axis. The mouse button which activates this in the axes should be easily configurable so as to not class with application developers. 2) have a zoom in and zoom out button that work on both axis symmetrically unless the 'x' or 'y' modifier keys are pressed in which case work only on that axis. Allow similar functionality with the mouse in the axes, eg wheel mouse, as Charles suggested or mouse-3 as vtk interactor windows use. Then you could pan and zoom in an axes without ever removing your mouse from the axes lim. 3) have a zoom rectangle tool that allows you to zoom to a selected rectangle, constrained to maintain axis ratio if CTRL is pressed 4) have a zoom to data button that changes viewlim to incorporate entire dataset 5) use the 'views' navigation with forward / mark / and back buttons that allows you to navigate between views 6) lose the redraw button, obsolete 7) have a savefig button which allows you to set the dpi, filename and backend, so you can output with ps, gd, or gtk backend 8) close window unchanged. Further comments? JDH |