How can I save plot graph by command, not clicking save icon?

1 visualizzazione (ultimi 30 giorni)
Hello.
Recent days, I have saved all of the graphs generated by 'plot' command to the JPG file for easy future investigations.
In order to do that, I clicked save ion below meanu in the 'Figure' window.
But because there are so many datas to be plotted, I need to save the graphs shown in the figure window into JPG file by using command, not clicking icon.
Is there appropriate command matching for my purpose?
Please give me help.

Risposta accettata

Arnaud Miege
Arnaud Miege il 28 Apr 2011
Use print.
HTH,
Arnaud

Più risposte (0)

Categorie

Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by