From: Petr M. <mi...@ph...> - 2004-06-21 18:15:16
|
> set xr[-6.93319487712:6.80166147456]; set yr[7.03235403496:-8.13313499442] > zoom region finished. > gnuplot> show yr > > set yrange [ 7.03235 : -8.13313 ] noreverse nowriteback > > This state was reached by a combination of the 'backward' set yrange > issued by the zoom with the action of splot_map_activate(), which flips > the RANGE_REVERSE flag off again after 'set yrange' turned it on. > > I suspect it may take a thorough re-think and rewrite of how 'set view > map' works before this is fixed for good. Wouldn't it suffice in mouse.c, event_do_zoom (or how it is called), which is making the string sprintf("set yrange [from:to]", mouse.y from, mouse.y to); to change it to if (is_view_map) sprintf("set yrange [from:to]", mouse.y to, mouse.y from); or whatever can fix the current bad behaviour else the current sprintf as above --- PM |