specify axis to plot alphaShape
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Walter Roberson
2024년 11월 10일
plot(shp, 'Parent', ax)
카테고리
도움말 센터 및 File Exchange에서 Bounding Regions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!