Subplots Saveas Function Problem
显示 更早的评论
Hello,
I did this graph configuration in Property Editor and generated the code. In my code i run it as follows:
X1=[1:6]
Y1=hsd
Y2=hi
Y3=td
Y4=ratio
graph(X1,Y1,Y2,Y3,Y4)
This is the final graph.

How can i save it automatically as a png format with saveas??
Example:
graphwrite=[[Filename],'fisico','.png'];
saveas(...,graphwrite)
采纳的回答
更多回答(4 个)
KL
2017-9-12
g1 = graph(X1,Y1,Y2,Y3,Y4);
saveas(g1,'filename.png')
Sérgio Querido
2017-9-12
0 个投票
2 个评论
Walter Roberson
2017-9-12
Please show the output for
which -all graph
Sérgio Querido
2017-9-12
类别
在 帮助中心 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!