Why does appear in a 3D mesh plot lines that should not be there?
Afficher commentaires plus anciens
Following the first example in the mesh documentation:
figure;
[X,Y] = meshgrid(-8:.5:8);
R = sqrt(X.^2 + Y.^2) + eps;
Z = sin(R)./R;
mesh(Z);
It should appear this:

But when I run the code, it appears other lines that are not in the example. I do not know why this is happening.

The funny thing is that if I copy the figure using Edit/Copy Figure it copies the image without those lines. Pretty strange.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!