Increase width of x axis
Afficher commentaires plus anciens
I want to increase the width of the x axis of a plot.
Changing set(gcf, 'Position', [100, 100, 650, 650]) just increases the size of the window of the figure, not the plot's width. I do not want to change the height, just the width.
How can I do this?
Thank you in advance!
Réponse acceptée
Plus de réponses (1)
Ive J
le 22 Fév 2022
You need to set gca and not gcf:
set(gca, 'Position', ...)
1 commentaire
ABCDEFG HIJKLMN
le 22 Fév 2022
Catégories
En savoir plus sur Line Plots 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!