How to set default figure size?
이전 댓글 표시
The default figure sizes of different computers are different. Therefore,
1) I want to know the default figure size of one of the computers.
2) And I want to set the same figure size as a default for other computers.
Many thanks in advance!
답변 (1개)
the cyclist
2017년 7월 18일
편집: the cyclist
2017년 7월 18일
get(0,'defaultfigureposition')
Then set the figure position to whatever you want using the equivalent set() command.
댓글 수: 5
Sungwoo Park
2017년 7월 19일
편집: Sungwoo Park
2017년 7월 19일
Jan
2017년 7월 19일
@Sungwoo Park: Please explain the step "copied and pasted in the powerpoint" with any details. Are you aware that this detail did not appear in the question?
Sungwoo Park
2017년 7월 19일
편집: Sungwoo Park
2017년 7월 19일
Antonio Astorino
2017년 11월 4일
Hi Sungwoo! I am experiencing a similar problem. Have you solved yours? If you did, could you please share your solution? Thanks a lot.
Best regards,
Antonio.
Sargondjani
2024년 11월 23일
편집: Sargondjani
2024년 11월 23일
For future reference: you can always save a figure first in a certain format. There are the options to use saveas, print, exportgraphics:
saveas(figname,'filename','fig'); %example with matlab "figure"
print(figname,'filename', '-dpng')%example with png format
exportgraphics(figname,'filename.eps')%example with eps format
I think the last one is the preferred function.
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!