writing/exporting a plot into a file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ian Bunker
el 12 de Mayo de 2021
Comentada: Walter Roberson
el 28 de Jul. de 2021
Hi,
I currently have a program that uses the plot function to generate a graph. I would like to write the graph into a document. I am very new to matlab and coding in general, and so far have been unable to locate the relevant documentation.
0 comentarios
Respuesta aceptada
Walter Roberson
el 12 de Mayo de 2021
Older releases: see getframe() https://www.mathworks.com/help/matlab/ref/getframe.html?s_tid=doc_ta or print() https://www.mathworks.com/help/matlab/ref/print.html or saveas() https://www.mathworks.com/help/matlab/ref/saveas.html?searchHighlight=saveas&s_tid=srchtitle
Also, if it is for a "document", see the Report Generator product.
2 comentarios
Walter Roberson
el 28 de Jul. de 2021
plot() returns an array of "primitive chart line" objects. Surfaces, images, lines, patches, text, are the traditional low level objects; there are now a lot of additional low level objects built around a new layer of even lower level objects
Más respuestas (0)
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!