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.

 Risposta accettata

madhan ravi
madhan ravi il 30 Ott 2018
Modificato: madhan ravi il 30 Ott 2018

4 Commenti

madhan ravi
madhan ravi il 30 Ott 2018
Modificato: madhan ravi il 30 Ott 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 il 30 Ott 2018
Please check the above attached pic
I can't see any attached picture

Accedi per commentare.

Più risposte (2)

Stephen23
Stephen23 il 30 Ott 2018
Modificato: Stephen23 il 30 Ott 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 il 30 Ott 2018

0 voti

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

Categorie

Scopri di più su Printing and Saving in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by