how to save figure with command

There is a save icon. So that I can save the prompted figure. But I want to know the command to save the figure to avoid clicking the save icon.

 Respuesta aceptada

madhan ravi
madhan ravi el 30 de Oct. de 2018
Editada: madhan ravi el 30 de Oct. de 2018

4 comentarios

madhan ravi
madhan ravi el 30 de Oct. de 2018
Editada: madhan ravi el 30 de Oct. de 2018
openfig('example.fig')
if everything is clear make sure to accept the answer so that people know the question is solved else let know whats not clear
vivek lal
vivek lal el 30 de Oct. de 2018
Please check the above attached pic
madhan ravi
madhan ravi el 30 de Oct. de 2018
I can't see any attached picture

Iniciar sesión para comentar.

Más respuestas (2)

Stephen23
Stephen23 el 30 de Oct. de 2018
Editada: Stephen23 el 30 de Oct. de 2018
You do not say anything about the file format that you want to use, however these will likely cover you needs:
doc print
doc saveas
doc savefig
vivek lal
vivek lal el 30 de Oct. de 2018

0 votos

Madhan how can I accept the answer when still it shows error.
Actually I want to save the prompted figure 2. Let it be jpeg format.
There is save icon available onow the toolbar. But please provide me command

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 30 de Oct. de 2018

Comentada:

el 30 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by