Subplots Saveas Function Problem
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (4)
KL
el 12 de Sept. de 2017
g1 = graph(X1,Y1,Y2,Y3,Y4);
saveas(g1,'filename.png')
Sérgio Querido
el 12 de Sept. de 2017
0 votos
2 comentarios
Walter Roberson
el 12 de Sept. de 2017
Please show the output for
which -all graph
Sérgio Querido
el 12 de Sept. de 2017
Sérgio Querido
el 12 de Sept. de 2017
Sérgio Querido
el 12 de Sept. de 2017
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!