2D View of TriSurf Problem
Show older comments
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.
Answers (1)
Walter Roberson
on 17 Apr 2013
Edited: Walter Roberson
on 17 Apr 2013
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')
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!