|
From: Petr M. <mi...@ph...> - 2007-03-15 09:45:13
|
> >> > 4) Mousing support for multiplot mode > >> > >> This one is probably more difficult than it seems. > > > > At least in x11 it should not be fairly easy. Gnuplot_x11 already > > stores plot bounds and axis scaling information, used to echo back > > the mouse coordinates based on the current cursor coordinates in > > the window. To make mouse coordinates work for multiplot, one just > > needs a pre-test on the cursor coordinates to see which scaling > > table should be used. So I think echoing the appropriate mouse > > coordinates for various subplots on the screen would be easy. I think so. And it does not depend on x11 at all. > > The difficult part would be to do something like zooming a subplot; > > as currently implemented, that would require going back to the Yes, that's impossible .. unless the whole output of "save ..." just after the plot is stored internally. > Well, everything is already there, see 'help raise' (you can do 'raise 5' > to raise the 5th window). > > Currently, if you do: > > set term x11 > plot x > set term wxt > plot x > raise # then both wxt and x11 windows are raised. > > With my patch (whose first goal is to eradicate that ugly code from > command.c): > > > set term x11 > plot x > set term wxt > plot x > raise # only wxt windows is raised. > set term x11 > raise # only x11 windows is raised. Will the "raise" command keep raising all windows of wxt and/or of x11? And which one will it choose when currently there is e.g. "set term post"? --- PM |