help-octave
[Top][All Lists]
Advanced

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

RE: Plot Title Rotation


From: Julian DeMarchi
Subject: RE: Plot Title Rotation
Date: Thu, 19 Jun 2003 13:41:42 -0400

Perhaps the replot part can be built into the end of every Octave plot-related 
function.

-----Original Message-----
From: Geraint Paul Bevan [mailto:address@hidden
Sent: Thursday, June 19, 2003 1:37 PM
To: Julian DeMarchi
Cc: Peter C. Gravelle; address@hidden
Subject: RE: Plot Title Rotation


On Thu, 19 Jun 2003, Julian DeMarchi wrote:

> Sounds like a bug to me...or at least an incompatibility:
> Matlab doesn't behave that way.
> 
> - Julian
> 

Julian,

Unlike Matlab, Octave doesn't automatically update the plot whenever you
change it.

The construct "plot(...); title(...)" can work ok in Octave, but you have
to "replot" the graph, e.g.:

plot (sin ([-2*pi:2*pi])); title ('sin'); replot

If you define a dummy function 'replot' in Matlab, this construct will be
portable between the two programs.

Geraint





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



reply via email to

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