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 Comments

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');

Sign in to comment.

Answers (1)

Francois Dion
Francois Dion on 23 May 2013
Edited: Francois Dion on 23 May 2013
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 :)

Categories

Tags

Asked:

on 16 May 2013

Community Treasure Hunt

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

Start Hunting!