writing/exporting a plot into a file
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ian Bunker
il 12 Mag 2021
Commentato: Walter Roberson
il 28 Lug 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 Commenti
Risposta accettata
Walter Roberson
il 12 Mag 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 Commenti
Walter Roberson
il 28 Lug 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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Printing and Saving in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!