2D View of TriSurf Problem

I have a 3D plot that I generated with trisurf (for a 2D CFD solution). In the isometric view, it looks great. However, if I look down the z axis (using view(2), or just rotating), most of the color disappears. I end up with oddly shaped blobs of color that don't correspond to my mesh, while everything else is white. This is particularly true for the large area of zero height surrounding the "pulse" I have.
However, when I save the figure as an image, the problem corrects itself.
I am looking at the time evolution of a solution, though, so I would like to see the accurate plot from the program, not saving it.
Any help is appreciated! Thanks.

Réponses (1)

Walter Roberson
Walter Roberson le 17 Avr 2013
Modifié(e) : Walter Roberson le 17 Avr 2013

0 votes

Please check
get(gcf, 'Renderer')
If it does not say opengl, then try
set(gcf, 'Renderer', 'opengl')
and if it does say opengl, then try
opengl software
If that does not work try
set(gcf, 'Renderer', 'zbuffer')

Question posée :

le 17 Avr 2013

Community Treasure Hunt

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

Start Hunting!

Translated by