MATLAB: How to save plot graph by command, not clicking save icon

automatic;graphplotsave

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.

Best Answer

Use print.
HTH,
Arnaud