|
From: | Paul Kienzle |
Subject: | Re: reset GNUplot in Octave |
Date: | Wed, 1 Sep 2004 21:56:31 -0400 |
On Aug 26, 2004, at 6:12 PM, John W. Eaton wrote:
On 25-Aug-2004, Bas Kooijman <address@hidden> wrote: | How should I reset range and border settings of gnuplot in Octave to | default values?| clg and related commands (clearplot) remove data, but not range-settings.| After having set an xrange, for instance, I failed to force gnuplot | under Octave to resume automatic scaling. The only method that works| was to quit the Octave session, and start a new one. I assume that there| must be more elegant methods. | I am looking for a command that resets gnuplot completely to default | values, as if I started a new session. | | Many thanks for helping me solving this problem You could try graw ("reset");
You also need to change the style from points to lines. Here's what clf.m from octave-forge does: graw "reset;\r" gset data style lines - Paul ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |