writing/exporting a plot into a file
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2021년 5월 12일
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
Walter Roberson
2021년 7월 28일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!