White lines in 2D figure when exporting it

10 ビュー (過去 30 日間)
A_V_G
A_V_G 2019 年 11 月 27 日
コメント済み: ME 2019 年 11 月 27 日
Hi,
I am using (in Matlab2018b, MacbookPro 2019 with macOS Catalina):
pcolor(xdata,ydata,zdata));
colorbar
shading interp
colormap(hsv);
colorbar
and the figure I get is a perfect 2D plot.
Now, when I want to save it (in any format, I have tried eps, pdf, png...), I get these anoying white lines you can see in the attachment.
When I copy the figure in my report the lines are even more accused.
Thanks in advance for your help.

採用された回答

ME
ME 2019 年 11 月 27 日
There isn't an accepted answer, but the following question has a lot of potential pointers that might be of use.
  4 件のコメント
A_V_G
A_V_G 2019 年 11 月 27 日
Awesome, it works!
Thank you very much!
ME
ME 2019 年 11 月 27 日
No problem. I'm sure there must be a "nicer" way of doing it but I've ended up doing it this way hundreds of times!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by