Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

White grid saving MATLAB plot as EPS or PDF

Whenever I save a pcolor or quiver plot as an EPS or PDF, I get this faint white grid that seems to be some sort of rendering problem. The first images shows the problem, the second one is how it looks in the figure window. I'm simply using the "Save As" menu item to save as an eps. Any suggestions on how I can get a nice looking vector image? I'm on OS X.

Thanks! Annoying ugly white grid

No white grid

like image 658
Rob Avatar asked Feb 02 '11 20:02

Rob


1 Answers

I can confirm the issue on Snow Leopard. Setting the render to opengl and using the 'Save As' menu to create an eps file from a quiver plot did solve the issue.

set(gcf, 'Renderer', 'opengl')
like image 70
zellus Avatar answered Sep 25 '22 16:09

zellus