Setting a gnuplot command line option from within Octave

Ben Abbott bpabbott at mac.com
Tue Apr 14 18:12:56 CDT 2009


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.  One problem:  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.  Any suggestions?
>
> -EJR

The gnuplot manual indicates you can add ’gnuplot*ctrlq’ to   
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








More information about the Help-octave mailing list