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 日
Sérgio Querido
2017 年 9 月 12 日
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!