Subplots Saveas Function Problem
Afficher commentaires plus anciens
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)
Réponse acceptée
Plus de réponses (4)
KL
le 12 Sep 2017
g1 = graph(X1,Y1,Y2,Y3,Y4);
saveas(g1,'filename.png')
Sérgio Querido
le 12 Sep 2017
0 votes
2 commentaires
Walter Roberson
le 12 Sep 2017
Please show the output for
which -all graph
Sérgio Querido
le 12 Sep 2017
Sérgio Querido
le 12 Sep 2017
Sérgio Querido
le 12 Sep 2017
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!