specify axis to plot alphaShape
Ältere Kommentare anzeigen
x = [0 1 0 1 0 1 0 1];
y = [0 0 0 0 1 1 1 1];
z = [0 0 1 1 0 0 1 1];
shp = alphaShape(x', y', z', 1);
plot(shp)
Code above works fine, but trying to specify an axes throws error:
ax = axes;
plot(ax, shp)
Any solution?
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 10 Nov. 2024
plot(shp, 'Parent', ax)
Kategorien
Mehr zu Bounding Regions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!