Increase width of x axis
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
Ive J
il 22 Feb 2022
You need to set gca and not gcf:
set(gca, 'Position', ...)
1 Commento
ABCDEFG HIJKLMN
il 22 Feb 2022
Categorie
Scopri di più su Line Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!