Overlay Color Information with patch()
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm doing a 3d brainplot with patch( and want to do a sort of background information with facevertexcdata and then overlay it with a second dataset (of the same size) of information for the same faces/vertices with a second colormap. If the values of the second vector drop below a certain threshhold, ideally it would interpolate (or become tranparent) between the first and second dataset.
Anyone have ideas?
0 个评论
采纳的回答
Walter Roberson
2011-10-13
patch() objects have an AlphaDataMapping and FaceVertexAlphaData property; between the two you can control the alpha of faces.
3 个评论
Walter Roberson
2011-10-13
In order to have two sets of data per face (or vertex), you will need to either have two distinct patch objects, or else repeat the face or vertex data within a single patch object. The FaceVertexAlphaData can be different for the two different copies.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!