Using CData to paint some polygons

7 次查看(过去 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

采纳的回答

Star Strider
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 个)

类别

Help CenterFile Exchange 中查找有关 Triangulation Representation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by