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:
Change xlabel of subplot with already stored figure
Replies:
8
Last Post:
Sep 12, 2013 5:59 PM
|
 |
|
dpb
Posts:
9,850
Registered:
6/7/07
|
|
Re: Change xlabel of subplot with already stored figure
Posted:
Sep 12, 2013 2:43 PM
|
|
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.
--
|
|
|
|