Plots: Designing and Saving
Mostrar comentarios más antiguos
How can I include code in my M-File that builds a plot of my data with the following properties:
- grid on
- a vertical line at data point 10 running from the min to max y limits
- title
- xlabel and ylabels
I then want to be able to save this plot as an image with something like:
saveas(graph, 'graph.tiff');
Many thanks for any help you are able to give me!
Respuesta aceptada
Más respuestas (1)
Robert Cumming
el 14 de Mayo de 2011
help grid
help ylim %use this to get y limits so you can plot ( [10 10], [ymin ymax] )
help title
help xlabel
help ylabel
1 comentario
Philip
el 14 de Mayo de 2011
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects 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!