Using CData to paint some polygons
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi,
is it possible to paint only some of the triangles of a trisurf surface? I have tried to use NaN's as CData for the patches I didn't want to colour but it ended up not colouring any of the triangles at all, including the ones whose CData values weren't NaN. I'm using CData as a n x 1 matrix, with each triangle having its own value.
Thanks in advance
댓글 수: 0
채택된 답변
Star Strider
2014년 5월 20일
I’m not certain what you want to do, but one option is the alpha function, or setting the Alpha property if you want them transparent. The other option is to colour the ‘uncoloured’ faces white = [1 1 1].
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Triangulation Representation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!