Alter axis size
Afficher commentaires plus anciens
How do I alter the size of the current axis within a figure? I've tried set(gca,'Position',[.. .. .. ..]), but the axis just disappears.
Réponse acceptée
Plus de réponses (1)
Grzegorz Knor
le 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].
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!