|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-08-31 02:07:15
|
On Friday, 30 August 2013, pl...@pi... wrote: > On 08/31/13 01:47, sfeam <Ethan A Merritt> wrote: > > On Friday, 30 August, 2013 21:45:50 pl...@pi... wrote: > >> Hi, > >> > >> this is only a niggle but a niggle that bugs me every day and every time > >> I use gnuplot. > >> > >> Why isn't "auto-scale" included in the history of scaling values stored > >> for the previous/next scale feature. > >> > >> eg > >> > >> reset > >> plot datafile w l > >> set xr [1:10]; replot > >> > >> now in an interactive terminal (eg wxt) I hit "p" but instead of it > >> returning to autoscale it jumps to some scaling I used yesterday on a > >> different plot. ie , the last NON autoscale setting of xr. > >> > >> Equally, if I explicitly set 'auto' and then zoom to some other setting, > >> it does not get counted next time I do 'previous'. > >> > >> Is there a problem with including auto as a value in the scaling history? > > > > Could it be that you are looking for the "u" hot key? > > > > Ethan > > > > > > Thanks but no. > > p `builtin-zoom-previous` go to previous zoom in the zoom > stack > u `builtin-unzoom` > > I'm talking about the unzoomed (autoscaled) state being included in the > zoom stack. > ie first plot would put "auto" onto the zoom stack as would reset; replot But "auto" is not a zoom state at all. I don't see how it fits in with n/p. > > eg > > reset > set xr [1:50] > plot datafile w l > set auto; replot > set xr [1:10]; replot Gnuplot keeps no history of previous plots. Once you say "set xr [1:10]; plot", that's it, boom, all the previous states are gone. The [1:50] resulting plot is not there any more; the autoscaled resulting plot is not there any more either. All that n/p/u can do is work with the base state of the current plot. > then pressing p hotkey would take me to the unzoomed state not [1:50] as > it currently does. Um. Are you sure that's what it currently does? The sequence of commands you give above does not act that way when I try it here. I don't recall ever seeing anything like you describe. > a second "p" would then take me to [1:50] > > Although set auto is the "unzoomed" state it is a finite scaling option > that has been viewed and likely explicitly set. > > The special treatment of this scaling is disrouting and frequently > rather inconvenient. > > I hope that's clearer. It's clearer in the sense that you really do want a scaling history. But the program doesn't currently keep anything of the sort, so it would be a major change. About the same difficulty as the recurring request for zoomable multiplots, and for much the same reason. The necessary information is not available. Ethan |