Print (Export) 3-D contour plot in .eps in MATLAB
2 views (last 30 days)
Show older comments
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 !
0 Comments
Answers (1)
Star Strider
on 25 Jun 2014
2 Comments
Star Strider
on 25 Jun 2014
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.
See Also
Categories
Find more on Contour Plots 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!