help-octave
[Top][All Lists]
Advanced

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

Re: Setting a gnuplot command line option from within Octave


From: Ben Abbott
Subject: Re: Setting a gnuplot command line option from within Octave
Date: Thu, 16 Apr 2009 07:13:42 -0400


On Apr 15, 2009, at 2:44 PM, John W. Eaton wrote:

On 14-Apr-2009, E. Joshua Rigler wrote:

| On Tue, Apr 14, 2009 at 5:12 PM, Ben Abbott <address@hidden> wrote:
| >
| > On Apr 14, 2009, at 4:17 PM, E. Joshua Rigler wrote:
| >
| >> I'm running Octave 3.0.4, and have the "plot" package installed from | >> Octave Forge in order to use the ginput.m function. A One problem: A I
| >> cannot read in the 'q' character without closing the plot window.
| >> Gnuplot seems to have a '-ctrlq' command line option that forces the | >> user to type Ctrl-q to close an open plot window, but I'm not sure how
| >> to take advantage of this from within Octave. A Any suggestions?
| >>
| >> -EJR
| >
| > The gnuplot manual indicates you can add 1rygnuplot*ctrlq1ry to A your .Xdefaults
| > or .Xresources file and get what you want.
| >
| > If it works, let us know. I tried to to this on Mac OSX Leopard. However, I
| > ended up with problems running my X11.
| >
| > Ben
|
| Huh, I guess I didn't dig deep enough into the help to find that.  A
| quick test confirms that this does what I expect, at least once I call
| xrdb to reload the X resource file.  I'll post a follow-up if I run
| into any problems later on. FYI, I'm running Octave on RH Enterprise
| v4, 64-bit.  Thanks for the tip.

Maybe we should change the gnuplot_binary function to accept
additional arguments that could be passed to gnuplot?

jwe

I tried doing that, but got an error. Perhaps *I* made a mistake. Does it work for you?

Ben




reply via email to

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