From: Lehmann, E. {TR-I~Penzberg} <eck...@Ro...> - 2004-10-26 09:22:25
|
Hi, Thanks for your response. > - preserve aspect ratio when zooming. It may take some getting used to, but for me it's the only way to go now. That is not possible, unfortunately. For my application I often need to plot the whole or a very big part of the y-axis against a little part of the x-axis, because the relevant information can only be seen this way. > - take control of the zooming process. There are now hooks in the CVS HEAD version of plwidget.tcl for the user to set a zoom handler. Of course this means you'll be responsible for replotting the data yourself, but the cool thing is that you can then drop all sorts of stuff "on top" of the zoomed data, like scales, labels, etc. Also gets around precision problems that appear when zooming to fine scales, due to the 16-bit driver data representation. That would be better... I was thinking about writing such a kind of user zoom handler as well, but when there is already one to use/test/patch, even better. How can I use the plwidget.tcl, is it possible to copy just this file from the CVS HEAD into my plplotter5.3.1 extension directory in Tcl/lib? Until now I was using plframe in a self defined Itk widget for all plotting tasks, but it seems that this is not the right way? Eckhard |