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 25, 2013 3:33 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 <kgfmrq$gpl$>...
> Can you pick a handle h that has been change and run the command:
> ancestor(h,'axes')
> % Bruno


Thanks - that was exactly the command I needed. You were right that some of my handles were being assigned to the wrong axis (wrong from my point of view). I'm not yet sure why, but now I know more about where to look.

One fix I found was to explicitly set the figure in a particular place: set(0,'CurrentFigure',myData.figHandle) whereas before I was explicitly setting the axis but not the figure. I don't understand yet why changing this made the wrong assignment disappear since I was assigning the 'CurrentAxes' but at least now I have some tools to probe it.

Thanks for your patience,

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.