[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
closeplot
From: |
John W. Eaton |
Subject: |
closeplot |
Date: |
Thu, 20 Nov 2003 09:29:55 -0600 |
On 20-Nov-2003, Shai Ayal <address@hidden> wrote:
| I am using gnuplot 3.8 with octave. The main reason are the great
| interactive mouse functions. In order to make them work, I have to issue
| "gset mouse" when octave starts up (easy using the ~/.octaverc file).
|
| However, when I use the closeplot and then issue another plot command, a
| new gnuplot window apears without the mouse functions. I can work around
| this by rememberign to issue "gset mouse" before the new gnuplot window
| apears i.e.
|
| > closeplot;
| > gset mouse
| > plot(1:10)
|
| is ok, but I keep forgetting the gset command :)
|
| it is of course possible(?) to redefine the closeplot command so that it
| issues the gset mouse command, but is there a better way ?
I can't think of a way to do what you want with current versions of
Octave. Perhaps we need to provide a way for users to install a
function that is called by closeplot to allow for things like this?
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------