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 件のコメント

Sharath Nagaraju
Sharath Nagaraju 2021 年 1 月 21 日
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 Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2013 年 7 月 31 日

コメント済み:

2021 年 1 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by