Multiple bode plots fail on same figure
Ben Abbott
bpabbott at mac.com
Tue Aug 26 20:21:08 CDT 2008
On Aug 26, 2008, at 6:05 PM, John W. Eaton wrote:
> 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?
>
I did a quick build and simple test. All looks good here!
Thanks
More information about the Bug-octave
mailing list