Multiple bode plots fail on same figure
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Aug 26 17:05:55 CDT 2008
On 27-Jun-2008, Ben Abbott wrote:
| Octave 3.0.1 includes the property "nextplot" for each axis. I
| understand that "hold on" only respects the current axis, not the
| current figure. So there is no bug (if I'm wrong feel free to correct
| me) ... however the help text for "hold" appears to be in need of
| clarity.
|
| To get the effect you're looking for try replacing "hold on" with ...
|
| set (findobj (gcf, "type", "axes"), "nextplot", "add")
|
| The equivalent to "hold off" is
|
| set (findobj (gcf, "type", "axes"), "nextplot", "replace")
|
| Alternatively, you can use
|
| hold (findobj (gcf, "type", "axes"), "on")
|
| hold (findobj (gcf, "type", "axes"), "off")
Sorry, I missed this reply initially.
OK, so hold should probably be doing this to change the property for
all child axes of the current figure. How about the following patch?
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080826/ff20f3cd/attachment.ksh
More information about the Bug-octave
mailing list