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: Change xlabel of subplot with already stored figure
Replies: 8   Last Post: Sep 12, 2013 5:59 PM

Advanced Search

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

Posts: 8,083
Registered: 6/7/07
Re: Change xlabel of subplot with already stored figure
Posted: Sep 12, 2013 2:43 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 9/12/2013 12:43 PM, Sankalp Dayal wrote:
...

> I had plotted the figs without any precondition on x and y limits and
> then saved the figures using the saveas(..). Since when Matlab creates
> figure, it automatically adjusts x and y giving floating point range
> limits; thereby causing the problem.
> Your new solution works awesome. Thanks!


But I've never seen this occur before; I can't help but believe
something occurred that caused the saved position vector(s) of the
stored subplots to have changed from the default positions before the
failing figure was saved.

If not, and you can reproduce this, I think it's a bug and code that can
reproduce it should be submitted w/ a bug report to official TMW support.

Certainly getting the axes handles as they exist directly w/o relying on
subplot() and its internal overlap checking will avoid the issue but it
_shouldn't_ be necessary....I'm 99.44% sure there's a solution to this.

--




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.