Using impoly on a surface plot.
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Massimo Zanetti
am 6 Okt. 2016
After launching your code, click on the sufrace and impoly will work.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!