フィルターのクリア

Set properties of patch doesn't work

3 ビュー (過去 30 日間)
rocketMan
rocketMan 2020 年 12 月 20 日
コメント済み: Walter Roberson 2020 年 12 月 22 日
Hello,
I'm trying to plot an isosurface in AppDesigner with:
load chestVolume
mask = 1800 <= V & V <= 3200;
p = patch(isosurface(mask));
p.FaceColor = 'red';
and it works fine.
Now I want to set the BackFaceLightning on 'unlit' and FaceLightning (on something, I don't know) so I can see where the inner surface and where he outer surface of the figure is. But when I set the properties nothing changes. Does anybody know why nothing changes and how I can fix it?
  8 件のコメント
Jan
Jan 2020 年 12 月 21 日
Okay, so the is a change. But the displayed object does not change, because there is no light() object, which could influence the lighting?
rocketMan
rocketMan 2020 年 12 月 22 日
Yes, I suppose so

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

回答 (1 件)

Mario Malic
Mario Malic 2020 年 12 月 21 日
編集済み: Mario Malic 2020 年 12 月 21 日
After you change properties, try with drawnow.
Wrong(FaceColor, FaceAlpha, EdgeColor, LineStyle are the only properties for patch.)
  8 件のコメント
rocketMan
rocketMan 2020 年 12 月 22 日
It is the ImageProcessing Toolbox that I use
Walter Roberson
Walter Roberson 2020 年 12 月 22 日

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

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by