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!