save plots in Maximize mode ???

how to save plots in Maximize mode in Matlab. I am using the following command, the figure is maximized but It is NOT getting saved in maximize mode ? please let me know. thanks.
set(gcf,'units','normalized','outerposition',[0 0 1 1])
print(gcf, '-djpeg100' ,jpegpath);

1 个评论

Just to guide someone still looking for the answer:
https://uk.mathworks.com/matlabcentral/answers/340470-saving-a-figure-in-full-screen-size

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by