automatic resize of one graph using subplot function
Show older comments
I have a m-file which is producing one plot graph and one polar graph.
In this file I attribute the plot graph to subplot(1,2,1) and the polar graph to subplot(1,2,2).
The problem is that while I do this my polar graph undergo an unexpected resize of the radius axis (in polar coordinates), increasing of about 30%, thus providing me with a non optimal graph.
I tried to use the axis command with the various arguments (image, ...), but it doesn't help.
anyone can help?
Accepted Answer
More Answers (1)
Brett Shoelson
on 4 Mar 2011
Or you can just set the x- and (or) y-limits to be manual after you create your individual plots. (The default is 'automatic'.):
xlim('manual');
ylim('manual');
Cheers, Brett
Categories
Find more on Axes Appearance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!