fill3 polygon
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Sean de Wolski
am 7 Okt. 2011
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 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!