Alter axis size
Show older comments
How do I alter the size of the current axis within a figure? I've tried set(gca,'Position',[.. .. .. ..]), but the axis just disappears.
Accepted Answer
More Answers (1)
Grzegorz Knor
on 2 Oct 2011
0 votes
Try:
set(gca,'Units','normalized','Position',[x y w h])
where x, y, w, h belong to the interval [0 1].
Categories
Find more on Annotations 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!