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 commentaire

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Question posée :

le 31 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by