Painters and openGL Renderer - shift marker or blurr marker in print to .pdf
4 views (last 30 days)
Show older comments
I am plotting a circle marker [plot(...'o'...)] and then overprinting whiskers [plot(...'-'...)] in the horizontal and vertical directions.
When I print with the Painters renderer, the marker is shifted. So the crosshairs of the whiskers are no longer centered (see painters.png).
filename=['test79']; print(gcf, '-painters', '-dpdf', [filename,'.pdf']);
When I print with the opengl renderer, the image is degraded(undesired) and blurry, but the crosshairs are centered (desired) (see opengl.png).
Is there a way to obtain both a high quality pdf with proper marker orientation? Any help would be greatly appreciated.
Thank you.
2 Comments
Mukul Rao
on 5 Dec 2017
Hi, can you share your version of MATLAB and code snippet to reproduce this issue?
Answers (1)
Mukul Rao
on 6 Dec 2017
Hi, what you describe is indeed an unexpected behavior with printing that has been fixed in MATLAB R2017b.
0 Comments
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!