|
From: Mojca M. <moj...@gm...> - 2011-12-08 22:01:35
|
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.
> If you had trouble finding this information in the help system
> or documentation, please tell us where you tried to look so that
> we can add appropriate cross-indexing or a new section.
Mostly 'help xrange'. (The entry 'zoom' doesn't exist in help either,
but I didn't even think about using it until you suggested to type
unzoom.)
I've seen key kommands in wxt nicely documented somewhere (I'm trying
to install wxwidgets now, I don't remember how exactly it is done
there), but the same documentation is missing in x11, probably also
because it takes quite some space and many experienced users might
start complaining if a big bunch of help text pops up :)
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.
Thank you very much,
Mojca
|