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 comentario

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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Preguntada:

el 31 de Jul. de 2013

Comentada:

el 21 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by