Low quality when exporting graph in emf

31 views (last 30 days)
Hello,
The problem that happens to me is divided into two parts.
1. It happens that when I export a graphic in emf vector format, when I open it in Word, it loses all the quality and it no longer looks like a graphic in vector format. Rather it looks like a graphic in raster format and very low quality. Even when I save it to pdf it continues with this problem, see figure 1 in the pdf file. To better illustrate my situation, by way of an example I show my problem through this simple code. In addition, I attach the pdf file where this problem is evident. I have noticed that the problem manifests itself as the number of points in the grid increases (when the delta variable is decreased). So, what can I do?, without decreasing the number of points in the mesh to avoid losing the "smoothness" of the surface.
2. If I use a smaller number of points in the grid, the vectorial quality is maintained, but the surface lines are appreciated once exported in emf and save it to pdf. See in the figure 2 in the pdf file several white thin lines in the surface. So, what can I do?
delta = 0.2;
[X,Y] = meshgrid(-2:delta:2);
Z = X.*exp(-X.^2 - Y.^2);
surf(X,Y,Z,'EdgeColor','interp','FaceColor','interp')
colormap jet

Accepted Answer

Renan Ribeiro
Renan Ribeiro on 6 Oct 2019

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!