Can 'export Figure' be written in command without clicking figure settings by hands ?

1 ビュー (過去 30 日間)
I'm saving figures by using 'File -> export setup'. Here I can set the figure 'height and width', and then 'dpi'.
I have lots of figures to save.
Is there any command can do the process to set the figure 'height and width', and then 'dpi' and save the figure ?


wenhao yang
wenhao yang 2021 年 3 月 4 日
I found it.
set(gcf,'unit','centimeters','position',[10 10 25 20]);
25: height,cm
-r600: 600 dpi
Thanks for my work. LOL~!

その他の回答 (0 件)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by