Print (Export) 3-D contour plot in .eps in MATLAB

2 ビュー (過去 30 日間)
Julien
Julien 2014 年 6 月 25 日
コメント済み: Star Strider 2014 年 6 月 25 日
Hi,
I have a big issue when I try to export a 3-D contour plot, like the ones obtained by surf.
I use this command to export my figures from Matlab to Latex:
print -depsc2 filename.eps;
But the exported figure is terrible, with so many aliasing:
I have visited some topics about this issue, but none of the solutions works. For example, using:
print -painters filename
create a huge file (100 Mo !) as I have too many points. However, if I reduce the number of points, the graph looks bad, so I prefer not consider this solution.
I have also seen people suggesting export_fig, but I still cannot get the result I want and the .eps file is still very big.
Do you know how can I resolve my issue ?
Thank you so much for your time !

回答 (1 件)

Star Strider
Star Strider 2014 年 6 月 25 日
The File Exchange export_fig function is well-reputed and popular. See if it solves your problem.
  2 件のコメント
Julien
Julien 2014 年 6 月 25 日
編集済み: Julien 2014 年 6 月 25 日

I already tried but I cannot solve my problem, unfortunately. Thanks for he answer, here's what I get with export_fig:

It is way beter, but it's like there's a light above the graph.

Star Strider
Star Strider 2014 年 6 月 25 日
I didn’t read your original post closely or I’d have picked up on your already having used export_fig.
I believe the problem may be your using surf. See if the contourf function goes better in your application. You can turn off the contour lines by setting the 'LineColor' property to 'none'. See the documentation on Contourgroup Properties for details on that.

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

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by