The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: cla clearing handles from the wrong axis
Replies: 9   Last Post: Feb 25, 2013 4:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 16
Registered: 10/31/12
Re: cla clearing handles from the wrong axis
Posted: Feb 24, 2013 3:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kgdtjn$kb7$>...
> "Scott" wrote in message <kgdsag$guq$>...

> >
> > So what I'm not understanding then about your answer are a few things:
> >
> > Why does it only touch some of the handles of the main figure window/axis?

> cla() does not touch anything that _YOU_ have stored with guidata. It simply delete the children of the axes. If you have stored the handles previously, after clearing the axes, they become then invalid.
> MATLAB GUI don't know anything about you have stored and they are later deleted. YOu should make sure the storage is consistent with the graphics you have manipulated.
> Bruno

Shouldn't it only clear children of the specified axis?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.