Drawing a 3d polyhedra with extreme points

2 次查看(过去 30 天)
Hi all, I'm trying to draw a 3d polyhedra by giving as input its extrema points. I have done the following
x=[2.66,2,3,3,2.5,2.5,3 ]
y=[2.66,3,2,3,2.5,3,2.5]
z=[2.66,3,3,2,3,2.5,2.5]
scatter3(x,y,z,'o')
How can I fill the polyhedra and make it looks nice?

回答(1 个)

Walter Roberson
Walter Roberson 2016-11-20
You cannot. Those data points form a plane, or something very close to a plane. Effectively only 2 dimensions, so you cannot fill it.

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by