saved plot always comes out bitmapped

조회 수: 2 (최근 30일)
Gary Gray
Gary Gray 2019년 12월 8일
댓글: Gary Gray 2019년 12월 11일
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!

채택된 답변

Navya Seelam
Navya Seelam 2019년 12월 11일
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 2019년 12월 11일
That did it! Thank you so much for the tip.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by