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

2 vues (au cours des 30 derniers jours)
Dong-Gyu Jang
Dong-Gyu Jang le 28 Avr 2011
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.

Réponse acceptée

Arnaud Miege
Arnaud Miege le 28 Avr 2011
Use print.
HTH,
Arnaud

Plus de réponses (0)

Catégories

En savoir plus sur Specifying Target for Graphics Output dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by