MATLAB Answers

saved plot always comes out bitmapped

조회 수: 2(최근 30일)
Gary Gray
Gary Gray 8 Dec 2019
댓글: Gary Gray 11 Dec 2019
I am generating two plots. One has 11,001 data points on a 2D plot with 23 different polynomial curve fits, each curve fit uses all 11,001 abscissas. The other plot has 11,001 data points with a single polynomial curve on top that again uses all 11,001 abscissas. When I save the latter plot as a PDF file, it is a gorgeous vector graphic that I can mess with in Adobe Illustrator. When I save the former plot as a PDF file it is always bitmapped and looks terrible. I have tried EPS and I get the same thing for both plots. Why is this happening and how do I get a non-bitmapped plot for the former plot?
Thank you!

  댓글 수: 0

로그인 to comment.

채택된 답변

Navya Seelam
Navya Seelam 11 Dec 2019
Hi,
Typically, print uses the Painters renderer when generating vector graphics files. However, for some complex figures, print uses the OpenGL renderer. To ensure that print uses the Painters renderer, set the Renderer property for the figure to 'painters' or specify '-painters' as an input argument to print. Refer to this link for more details.

  댓글 수: 1

Gary Gray
Gary Gray 11 Dec 2019
That did it! Thank you so much for the tip.

로그인 to comment.

추가 답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by