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.
답변 (1개)
Walter Roberson
2013년 4월 17일
편집: Walter Roberson
2013년 4월 17일
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')
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!