help-octave
[Top][All Lists]
Advanced

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

RE: Gnuplot zoom with mouse


From: John W. Eaton
Subject: RE: Gnuplot zoom with mouse
Date: Fri, 24 Aug 2007 17:21:53 -0400

On 24-Aug-2007, Will Lentz wrote:

| 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).

Yes, but Octave is sending commands to gnuplot through a pipe, which
gnuplot treats differently from input coming from a terminal.  I don't
know why gnuplot is not functioning properly in this case and I don't
have time to debug it at the moment.  Could someone please investigate
and see whether it is a bug in gnuplot or if there is something that
we can do to start gnuplot in a way that zooming will actually work?

jwe


reply via email to

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