How do I make MATLAB print my figure in vector format?
조회 수: 9 (최근 30일)
이전 댓글 표시
I have a code that outputs a figure. I have been using the print command:
print -depsc -r1200 batholith.eps
The output file (.eps) is a series of horizontal (raster) slices rather than a vector formated file.
All I want to do is be able to edit the file as a vector file like I would say a GMT .ps output file.
댓글 수: 0
답변 (1개)
Razvan
2012년 11월 8일
try this:
print(figureHandle, '-depsc2', '-painters', filename);
If the figure is too complex maybe you want to use export_fig
댓글 수: 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!