Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Copying zoom parameters across different figures
Replies: 5   Last Post: Nov 20, 2012 2:16 PM

Advanced Search

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

Posts: 4,994
Registered: 11/28/09
Re: Copying zoom parameters across different figures
Posted: Nov 20, 2012 2:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"C Vasco" wrote in message <k83h9c$o63$1@newscl01ah.mathworks.com>...
>
> First, have the figure with desired zoom parameters selected or in focus.
> Then, use

> >> myaxes = axis
> to get the current axis scaling and appearance.
>
> Finally, select the target axis that will be updated and use

> >> axis(gca, myaxes)
> to apply the saved axis limits.
===============

Good!



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.