fill3 polygon
조회 수: 9 (최근 30일)
이전 댓글 표시
I want to highlight an area on a surface plot and fill3 would do the job but I am not sure how to find the 3D points i need. I have a matrix with all the XYZ values as a 3D volume but I need to just find the 'outer' values in order to construct a polygon using fill3(X1,Y1,Z1,C1,X2,Y2,Z2,C2,...)
or perhaps there is a bettr way - subvolume?
댓글 수: 0
답변 (1개)
Sean de Wolski
2011년 10월 7일
Will the polygon be convex? If so look at convhull or convhulln to determine the points. If not you'll need to come up with some additional constraints to find the "Outer" points.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!