writing/exporting a plot into a file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ian Bunker
am 12 Mai 2021
Kommentiert: Walter Roberson
am 28 Jul. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 12 Mai 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 Kommentare
Walter Roberson
am 28 Jul. 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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!