How can I properly export a figure using the 'patch' command?
12 次查看(过去 30 天)
显示 更早的评论
Hi all:
I'd like to export a figure in which I use the 'patch' command to shade recessions. However, the image quality drops as soon as I add the recession bands.
I'm using 'exportfig' and convert eps into pdf via ghostscript.
Does anybody have an idea how to fix this problem?
Best, Peter
0 个评论
采纳的回答
José-Luis
2012-11-8
编辑:José-Luis
2012-11-8
Looks like your image is transformed to a bitmap. When you use patch, the renderer might be set to OpenGL by default. Try and change your renderer to Painters before exporting your figure. That should ensure that you keep vector graphics. Note that transparencies won't work with Painters.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!