Overlay Color Information with patch()

3 ビュー (過去 30 日間)
Sylvia
Sylvia 2011 年 10 月 13 日
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?

採用された回答

Walter Roberson
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
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.
Sylvia
Sylvia 2011 年 10 月 14 日
How would one repeat the data?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by