[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Gnuplot zoom with mouse
From: |
Will Lentz |
Subject: |
RE: Gnuplot zoom with mouse |
Date: |
Fri, 24 Aug 2007 14:00:06 -0700 |
Hi,
With gnuplot4.0 I added "set mouse" to ~/.gnuplot and that almost works.
Now I can right-click and see the zoom box, but it doesn't actually zoom
in. If I turn on gnuplot debugging ('6') I see:
octave:1> plot(1:10)
octave:2> communication commands will be echoed.
starting zoom region.
set xr[2.35775862069:4.73141163793]; set
yr[2.28673361522:5.07901691332]; set x2r[ 2.35776: 4.73141]; set y2r[
2.28673: 5.07902]
zoom region finished.
But the screen doesn't refect the zoom.
As an alternative I tried using gnuplot 4.2. Now I no longer need a
~/.gnuplot file to enable mouse functionality. That's cool, but
unfortunately the zoom box doesn't show up at all. The middle button
can still be used to place markers, though...
Thanks,
Will
P.S. Just as a sanity check - the right click zoom works when I run
either version of gnuplot from the command line (outside of octave).
-----Original Message-----
From: John W. Eaton [mailto:address@hidden
Sent: Friday, August 24, 2007 1:21 PM
To: Will Lentz
Cc: address@hidden
Subject: Gnuplot zoom with mouse
On 24-Aug-2007, Will Lentz wrote:
| I just upgraded to octave 2.9.13 and I can't zoom in on plots anymore
| (using a mouse right-click with gnuplot 4.0).
|
| My old .octaverc contained:
| gset mouse
| which allowed gnuplot to zoom in.
|
| I tried to convert that to:
| __gnuplot__set__ mouse
| but gnuplot still won't zoom in anymore. Any ideas?
Read the NEWS file (you can also see it if you type "news" at the
octave prompt).
Put
set mouse
in your ~/.gnuplot file.
This should not be necessary if you upgrade to gnuplot 4.2 (plus, you
then get better support for color line properties in Octave).
jwe
- Gnuplot zoom with mouse, Will Lentz, 2007/08/24
- Gnuplot zoom with mouse, John W. Eaton, 2007/08/24
- RE: Gnuplot zoom with mouse,
Will Lentz <=
- RE: Gnuplot zoom with mouse, John W. Eaton, 2007/08/24
- RE: Gnuplot zoom with mouse, Thomas Weber, 2007/08/25
- RE: Gnuplot zoom with mouse, John W. Eaton, 2007/08/27
- Re: Gnuplot zoom with mouse, Rob Mahurin, 2007/08/28
- Re: Gnuplot zoom with mouse, John W. Eaton, 2007/08/28