how to save figure with command

3 次查看(过去 30 天)
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.

采纳的回答

madhan ravi
madhan ravi 2018-10-30
编辑:madhan ravi 2018-10-30
  4 个评论
madhan ravi
madhan ravi 2018-10-30
I can't see any attached picture

请先登录,再进行评论。

更多回答(2 个)

Stephen23
Stephen23 2018-10-30
编辑:Stephen23 2018-10-30
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 2018-10-30
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

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by