Using impoly on a surface plot.
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Massimo Zanetti
el 6 de Oct. de 2016
After launching your code, click on the sufrace and impoly will work.
1 comentario
Ver también
Categorías
Más información sobre Graphics Object Properties en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!