How to set specific size of a figure with exportgraphics?
Ältere Kommentare anzeigen
Dear all,
I would like to save a figure with specific size with
function.
I saw answers with
but I would like to use the
environment.
For example I would like to save with the following size:
How can I do it?
X = 0:10:10;
Y = X;
Title = "hello.png";
F = figure;
plot(X,Y)
exportgraphics(F,Title,'Resolution',600)
Thanks in advance,
Best regards,
louis
Akzeptierte Antwort
Weitere Antworten (1)
James Tursa
am 9 Jun. 2022
0 Stimmen
This doesn't answer your question about controlling exported sizes, but you might be interested in the following export_fig FEX submission maintained by Yair Altman:
1 Kommentar
Louis Tomczyk
am 10 Jun. 2022
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
