Using impoly on a surface plot.
10 ビュー (過去 30 日間)
古いコメントを表示
I would like to use Matlab's impoly (or any of the imroi functions) on a 3D surface. However, there seems to be a problem when calling createMask.
[X,Y,Z] = peaks(101);
surf(X,Y,Z);
h = impoly(gca);
mask = createMask(h);
Interesting is that this works.
pos = getPosition(h)
Any help would be much appreciated.
0 件のコメント
回答 (1 件)
Massimo Zanetti
2016 年 10 月 6 日
After launching your code, click on the sufrace and impoly will work.
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!