How can I properly export a figure using the 'patch' command?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
José-Luis
el 8 de Nov. de 2012
Editada: José-Luis
el 8 de Nov. de 2012
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Performance en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!