How to set specific size of a figure with exportgraphics?
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
James Tursa
2022년 6월 9일
0 개 추천
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:
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
