|
From: Ethan A M. <sf...@us...> - 2011-12-08 22:17:29
|
On Thursday, December 08, 2011 02:01:29 pm Mojca Miklavec wrote: > On Thu, Dec 8, 2011 at 22:36, Ethan Merritt wrote: > > On Thursday, December 08, 2011 01:26:54 pm Mojca Miklavec wrote: > >> Dear gnuplotters, > >> > >> I'm sorry for the slightly weird question, but I'm experiencing a > >> weird behaviour with x11 terminal (under Mac OS X; I used to use Aqua > >> a lot so far, so I'm not very familiar with mouse events ...). > >> > >> If I run > >> plot 'somedata' w l > >> and then zoom into the data with mouse's scroll wheel (+shift and > >> ctrl), I'm unable to reset the range back to the original one. replot > >> has zero effect. Another plot just leaves the range where mouse left > >> it last. > > > > Correct. "replot" does not change the current range of the plot. > > You can can type "unzoom" to return to the original scale, or > > you can step back and forth through previous zoom operations by > > using the 'p' or 'n' hotkeys in the plot window. > > Thank you. > > The keys p and n help (it may happen that one has to hold 'p' for a > very very long time though if there were many iterations done with a > mouse), however 'unzoom' is not recognized. That is very strange. 'unzoom' is a standard command that should always be recognized. Or you can use the 'u' hotkey in the plot window. > But even now that I know about p & n: how can I reset the range for > plotting data to the same state as when gnuplot is started? So that it > doesn't default to [-10:10][5:5], but adjust to data range instead. I don't understand the question. 'unzoom' will return to the same state as the previous 'plot' command, but that isn't the same thing as "when gnuplot is started". Are you asking about 'set autoscale'? Ethan |