How to make good mesh picture?

I want to make a picture of 3d data. I always have a lot of white dot on picture. I use this command :
mesh(T(1:800,:),E(1:800,:),G(1:800,:)) view (0,90) colorbar

2 commentaires

Matt Kindig
Matt Kindig le 16 Mai 2013
Do you have any NaNs in the data?
What renderer are you using?
get(gcf,'renderer');
Does it go away if you change the renderer?
set(gcf,'renderer','painters');
set(gcf,'renderer','opengl');

Connectez-vous pour commenter.

Réponses (1)

Francois Dion
Francois Dion le 23 Mai 2013
Modifié(e) : Francois Dion le 23 Mai 2013

0 votes

I have no NaN data. The problem was the renderer, I am on a Linux computer, so
set(gcf,'renderer','painters');
make the job, but the interactive plot become very slow. I used
print -painters -dpng -loose finalPlot
to make the picture and the result is very good :
Thank you for your help :)

Catégories

En savoir plus sur Contour Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by