|
From: <pl...@pi...> - 2012-02-10 19:50:00
|
On 02/09/12 19:15, Ethan A Merritt wrote: > On Thursday, February 09, 2012 09:22:50 am pl...@pi... wrote: >> On 02/09/12 15:45, pl...@pi... wrote: >>> Hi, >>> >>> quick one. >>> >>> coordinate readout in wxt multiplot is on "whole window" coord. system, >>> centred at screen centre. >>> >>> This seems rather unhelpful since it does not relate to ANY of the >>> plots' axes. >>> >>> Wouldn't this be a more useful feature if it translated mouse to 'local' >>> axes of the hovered plot. > > This is a very long-standing Feature Request. > > The nature of the problem is that the generic mousing code uses internal > variables that are only correct for the "current" plot (actually the > plot that was just completed). Since these variables are overwritten with > each new plot in a multiplot, the information is not available except for > the most recent subpanel. > > Relatively recently we added terminal-specific code to dump plot layout > information so that mousing could be done by terminals like svg and canvas > where the information was necessarily stored in the output file itself. > As each plot is completed, the summary variables (essentially the ones > reported in GPVAL_TERM_XXX) are written into a data structure. > > That provides a template for how we might do the same for the interactive > terminals. I think it would have to be tackled one terminal at a time, > but it sounds like a relatively straightforward programming task. > If anyone is looking for a project .... :-) > > Ethan > There's perhaps more to this wxt+multiplot situation than the problems I indicated. Now using a CVS pull of today ( 10th Feb 2011). If I do a mouse scroll in any area of a multiplot, the multplot vanishes and is replaced by a full window version of the last plot. If it does anything restricted to one plot, it should perhaps scroll the last plot within the multiplot. Binning the multiplot altogether is a pretty nasty bug. Worse, if I close the wxt window and run the gnuplot script again using load command I get the multiplot format but with axes, xrange and yrange stolen from the earlier last plot in the series. The auto scaling feature that was working correctly before is now disabled and the scaling suitable for the last plot is applied to all. I am able to restore sanity by set yr [*:*] . Clearly this is a bug. If I click the autoscale button in the wxt toolbar, it also jumps to last plot full size display of the last plot element but does not mess up the autoscaling if I reload the gnuplot script. Peter. |