help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zoom


From: r
Subject: Re: zoom
Date: Sun, 3 May 2009 17:54:11 +0100

On Fri, May 1, 2009 at 3:49 PM, Rob Mahurin <address@hidden> wrote:
> On Apr 30, 2009, at 2:49 PM, Fernando Perez Quintián wrote:
>> Francesco: the "right-click twice" doesn't work in my case, I don't
>> know
>> why.
>> Rob: OK, thanks,  but I was looking for a mouse-interactive zoom
>
> To use mouse-interactive zoom, your gnuplot must have "zooming for
> dynamic data" enabled.  The gnuplot in the current kubuntu is new
> enough to have this feature, but it might not have been enabled.

The feature is marked experimental and is not enabled by default in
gnuplot  (even in version 4.3.0). Apparently gnuplot in ubuntu is
compiled without this option.

> You can compile gnuplot yourself, or file a bug against kubuntu.

Build gnuplot with:
./configure --enable-volatile-data <other parameters>
make
sudo make install

and if necessary change the gnuplot's path in octave with:
gnuplot_binary ("/usr/local/bin/gnuplot")

Having said that, the feature does feel experimental. When there are
several subplots in one plot window only the last one responds to
interactive commands. Also, if gnuplot encounters an error (like
enabling log axis with "L" key for data with values <=0) all
subsequent interactive operations will be disabled:
"line 6009: warning: refresh not possible and replot is disabled"

One more tip for those lacking intuition like me, ;-) pressing "h" in
the plot window causes some basic help information to be printed out
to the octave console.

-r.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]