What functions can be triggered when an axes is resized?

Hai.I want to trigger a function when I resize an axes. How can I do that?

Answers (1)

How are the axes being resized? If you're doing something in code, like displaying an updated set of (x,y) data, then why can't you just call the function yourself after that? Because as far as I know, there's no "axes_resized" event that you can put code into to automatically comes to life when the axes get resized.

4 Comments

Thanks. I use the *Edit plot *to resize the axes.
I don't know what that is. Is that some kind of interactive operation you do with icons or pulldown menus on the figure? If so, you'll be best off creating your own GUI to do automatic operations. See http://blogs.mathworks.com/videos/category/gui-or-guide/
Are we done then? If so, mark it as Answered. Thanks.

Sign in to comment.

Asked:

on 13 Apr 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!