如何在Matlab中绘制3D平面?

我想用一个我从3点计算的矢量绘制一个飞机:

pointA = [0,0,0];
pointB = [-10,-20,10];
pointC = [10,20,10];

plane1 = cross(pointA-pointB, pointA-pointC)

如何在3D中绘制“plane1”?

这是一个简单的方法来绘制飞机使用fill3:

points=[pointA' pointB' pointC']; % using the data given in the question
fill3(points(1,:),points(2,:),points(3,:),'r')
grid on
alpha(0.3)
翻译自:https://stackoverflow.com/questions/13464304/how-can-i-plot-a-3d-plane-in-matlab

转载注明原文:如何在Matlab中绘制3D平面?