MATLAB如何连接3d点?

时间:2015-09-13 19:09:53

标签: matlab animation graph plot 3d

我想通过指定" cloud"来创建火箭形状。表面点和制作MATLAB将点连接成矩形块(这样,当有很多这些点时,它会产生曲面的错觉)。我怎样才能让MATLAB做到这一点?即我必须以什么顺序指定点才能使MATLAB正确地将它们拼凑在一起?

这是我到目前为止所做的:

enter image description here

以上是使用plot3;我所拥有的是以下结构的长矩阵:

[x1 y1 z1
 x2 y2 z2
 .
 .
 .]

我想知道如何将其变成表面。完整的矩阵是:

   -0.2470    0.0380         0
   -0.2470    0.0374    0.0066
   -0.2470    0.0357    0.0130
   -0.2470    0.0329    0.0190
   -0.2470    0.0291    0.0244
   -0.2470    0.0244    0.0291
   -0.2470    0.0190    0.0329
   -0.2470    0.0130    0.0357
   -0.2470    0.0066    0.0374
   -0.2470    0.0000    0.0380
   -0.2470   -0.0066    0.0374
   -0.2470   -0.0130    0.0357
   -0.2470   -0.0190    0.0329
   -0.2470   -0.0244    0.0291
   -0.2470   -0.0291    0.0244
   -0.2470   -0.0329    0.0190
   -0.2470   -0.0357    0.0130
   -0.2470   -0.0374    0.0066
   -0.2470   -0.0380    0.0000
   -0.2470   -0.0374   -0.0066
   -0.2470   -0.0357   -0.0130
   -0.2470   -0.0329   -0.0190
   -0.2470   -0.0291   -0.0244
   -0.2470   -0.0244   -0.0291
   -0.2470   -0.0190   -0.0329
   -0.2470   -0.0130   -0.0357
   -0.2470   -0.0066   -0.0374
   -0.2470   -0.0000   -0.0380
   -0.2470    0.0066   -0.0374
   -0.2470    0.0130   -0.0357
   -0.2470    0.0190   -0.0329
   -0.2470    0.0244   -0.0291
   -0.2470    0.0291   -0.0244
   -0.2470    0.0329   -0.0190
   -0.2470    0.0357   -0.0130
   -0.2470    0.0374   -0.0066
   -0.1970    0.0380         0
   -0.1970    0.0374    0.0066
   -0.1970    0.0357    0.0130
   -0.1970    0.0329    0.0190
   -0.1970    0.0291    0.0244
   -0.1970    0.0244    0.0291
   -0.1970    0.0190    0.0329
   -0.1970    0.0130    0.0357
   -0.1970    0.0066    0.0374
   -0.1970    0.0000    0.0380
   -0.1970   -0.0066    0.0374
   -0.1970   -0.0130    0.0357
   -0.1970   -0.0190    0.0329
   -0.1970   -0.0244    0.0291
   -0.1970   -0.0291    0.0244
   -0.1970   -0.0329    0.0190
   -0.1970   -0.0357    0.0130
   -0.1970   -0.0374    0.0066
   -0.1970   -0.0380    0.0000
   -0.1970   -0.0374   -0.0066
   -0.1970   -0.0357   -0.0130
   -0.1970   -0.0329   -0.0190
   -0.1970   -0.0291   -0.0244
   -0.1970   -0.0244   -0.0291
   -0.1970   -0.0190   -0.0329
   -0.1970   -0.0130   -0.0357
   -0.1970   -0.0066   -0.0374
   -0.1970   -0.0000   -0.0380
   -0.1970    0.0066   -0.0374
   -0.1970    0.0130   -0.0357
   -0.1970    0.0190   -0.0329
   -0.1970    0.0244   -0.0291
   -0.1970    0.0291   -0.0244
   -0.1970    0.0329   -0.0190
   -0.1970    0.0357   -0.0130
   -0.1970    0.0374   -0.0066
   -0.1470    0.0380         0
   -0.1470    0.0374    0.0066
   -0.1470    0.0357    0.0130
   -0.1470    0.0329    0.0190
   -0.1470    0.0291    0.0244
   -0.1470    0.0244    0.0291
   -0.1470    0.0190    0.0329
   -0.1470    0.0130    0.0357
   -0.1470    0.0066    0.0374
   -0.1470    0.0000    0.0380
   -0.1470   -0.0066    0.0374
   -0.1470   -0.0130    0.0357
   -0.1470   -0.0190    0.0329
   -0.1470   -0.0244    0.0291
   -0.1470   -0.0291    0.0244
   -0.1470   -0.0329    0.0190
   -0.1470   -0.0357    0.0130
   -0.1470   -0.0374    0.0066
   -0.1470   -0.0380    0.0000
   -0.1470   -0.0374   -0.0066
   -0.1470   -0.0357   -0.0130
   -0.1470   -0.0329   -0.0190
   -0.1470   -0.0291   -0.0244
   -0.1470   -0.0244   -0.0291
   -0.1470   -0.0190   -0.0329
   -0.1470   -0.0130   -0.0357
   -0.1470   -0.0066   -0.0374
   -0.1470   -0.0000   -0.0380
   -0.1470    0.0066   -0.0374
   -0.1470    0.0130   -0.0357
   -0.1470    0.0190   -0.0329
   -0.1470    0.0244   -0.0291
   -0.1470    0.0291   -0.0244
   -0.1470    0.0329   -0.0190
   -0.1470    0.0357   -0.0130
   -0.1470    0.0374   -0.0066
   -0.0970    0.0380         0
   -0.0970    0.0374    0.0066
   -0.0970    0.0357    0.0130
   -0.0970    0.0329    0.0190
   -0.0970    0.0291    0.0244
   -0.0970    0.0244    0.0291
   -0.0970    0.0190    0.0329
   -0.0970    0.0130    0.0357
   -0.0970    0.0066    0.0374
   -0.0970    0.0000    0.0380
   -0.0970   -0.0066    0.0374
   -0.0970   -0.0130    0.0357
   -0.0970   -0.0190    0.0329
   -0.0970   -0.0244    0.0291
   -0.0970   -0.0291    0.0244
   -0.0970   -0.0329    0.0190
   -0.0970   -0.0357    0.0130
   -0.0970   -0.0374    0.0066
   -0.0970   -0.0380    0.0000
   -0.0970   -0.0374   -0.0066
   -0.0970   -0.0357   -0.0130
   -0.0970   -0.0329   -0.0190
   -0.0970   -0.0291   -0.0244
   -0.0970   -0.0244   -0.0291
   -0.0970   -0.0190   -0.0329
   -0.0970   -0.0130   -0.0357
   -0.0970   -0.0066   -0.0374
   -0.0970   -0.0000   -0.0380
   -0.0970    0.0066   -0.0374
   -0.0970    0.0130   -0.0357
   -0.0970    0.0190   -0.0329
   -0.0970    0.0244   -0.0291
   -0.0970    0.0291   -0.0244
   -0.0970    0.0329   -0.0190
   -0.0970    0.0357   -0.0130
   -0.0970    0.0374   -0.0066
   -0.0470    0.0380         0
   -0.0470    0.0374    0.0066
   -0.0470    0.0357    0.0130
   -0.0470    0.0329    0.0190
   -0.0470    0.0291    0.0244
   -0.0470    0.0244    0.0291
   -0.0470    0.0190    0.0329
   -0.0470    0.0130    0.0357
   -0.0470    0.0066    0.0374
   -0.0470    0.0000    0.0380
   -0.0470   -0.0066    0.0374
   -0.0470   -0.0130    0.0357
   -0.0470   -0.0190    0.0329
   -0.0470   -0.0244    0.0291
   -0.0470   -0.0291    0.0244
   -0.0470   -0.0329    0.0190
   -0.0470   -0.0357    0.0130
   -0.0470   -0.0374    0.0066
   -0.0470   -0.0380    0.0000
   -0.0470   -0.0374   -0.0066
   -0.0470   -0.0357   -0.0130
   -0.0470   -0.0329   -0.0190
   -0.0470   -0.0291   -0.0244
   -0.0470   -0.0244   -0.0291
   -0.0470   -0.0190   -0.0329
   -0.0470   -0.0130   -0.0357
   -0.0470   -0.0066   -0.0374
   -0.0470   -0.0000   -0.0380
   -0.0470    0.0066   -0.0374
   -0.0470    0.0130   -0.0357
   -0.0470    0.0190   -0.0329
   -0.0470    0.0244   -0.0291
   -0.0470    0.0291   -0.0244
   -0.0470    0.0329   -0.0190
   -0.0470    0.0357   -0.0130
   -0.0470    0.0374   -0.0066
    0.0030    0.0380         0
    0.0030    0.0374    0.0066
    0.0030    0.0357    0.0130
    0.0030    0.0329    0.0190
    0.0030    0.0291    0.0244
    0.0030    0.0244    0.0291
    0.0030    0.0190    0.0329
    0.0030    0.0130    0.0357
    0.0030    0.0066    0.0374
    0.0030    0.0000    0.0380
    0.0030   -0.0066    0.0374
    0.0030   -0.0130    0.0357
    0.0030   -0.0190    0.0329
    0.0030   -0.0244    0.0291
    0.0030   -0.0291    0.0244
    0.0030   -0.0329    0.0190
    0.0030   -0.0357    0.0130
    0.0030   -0.0374    0.0066
    0.0030   -0.0380    0.0000
    0.0030   -0.0374   -0.0066
    0.0030   -0.0357   -0.0130
    0.0030   -0.0329   -0.0190
    0.0030   -0.0291   -0.0244
    0.0030   -0.0244   -0.0291
    0.0030   -0.0190   -0.0329
    0.0030   -0.0130   -0.0357
    0.0030   -0.0066   -0.0374
    0.0030   -0.0000   -0.0380
    0.0030    0.0066   -0.0374
    0.0030    0.0130   -0.0357
    0.0030    0.0190   -0.0329
    0.0030    0.0244   -0.0291
    0.0030    0.0291   -0.0244
    0.0030    0.0329   -0.0190
    0.0030    0.0357   -0.0130
    0.0030    0.0374   -0.0066
    0.0530    0.0380         0
    0.0530    0.0374    0.0066
    0.0530    0.0357    0.0130
    0.0530    0.0329    0.0190
    0.0530    0.0291    0.0244
    0.0530    0.0244    0.0291
    0.0530    0.0190    0.0329
    0.0530    0.0130    0.0357
    0.0530    0.0066    0.0374
    0.0530    0.0000    0.0380
    0.0530   -0.0066    0.0374
    0.0530   -0.0130    0.0357
    0.0530   -0.0190    0.0329
    0.0530   -0.0244    0.0291
    0.0530   -0.0291    0.0244
    0.0530   -0.0329    0.0190
    0.0530   -0.0357    0.0130
    0.0530   -0.0374    0.0066
    0.0530   -0.0380    0.0000
    0.0530   -0.0374   -0.0066
    0.0530   -0.0357   -0.0130
    0.0530   -0.0329   -0.0190
    0.0530   -0.0291   -0.0244
    0.0530   -0.0244   -0.0291
    0.0530   -0.0190   -0.0329
    0.0530   -0.0130   -0.0357
    0.0530   -0.0066   -0.0374
    0.0530   -0.0000   -0.0380
    0.0530    0.0066   -0.0374
    0.0530    0.0130   -0.0357
    0.0530    0.0190   -0.0329
    0.0530    0.0244   -0.0291
    0.0530    0.0291   -0.0244
    0.0530    0.0329   -0.0190
    0.0530    0.0357   -0.0130
    0.0530    0.0374   -0.0066
    0.1030    0.0380         0
    0.1030    0.0374    0.0066
    0.1030    0.0357    0.0130
    0.1030    0.0329    0.0190
    0.1030    0.0291    0.0244
    0.1030    0.0244    0.0291
    0.1030    0.0190    0.0329
    0.1030    0.0130    0.0357
    0.1030    0.0066    0.0374
    0.1030    0.0000    0.0380
    0.1030   -0.0066    0.0374
    0.1030   -0.0130    0.0357
    0.1030   -0.0190    0.0329
    0.1030   -0.0244    0.0291
    0.1030   -0.0291    0.0244
    0.1030   -0.0329    0.0190
    0.1030   -0.0357    0.0130
    0.1030   -0.0374    0.0066
    0.1030   -0.0380    0.0000
    0.1030   -0.0374   -0.0066
    0.1030   -0.0357   -0.0130
    0.1030   -0.0329   -0.0190
    0.1030   -0.0291   -0.0244
    0.1030   -0.0244   -0.0291
    0.1030   -0.0190   -0.0329
    0.1030   -0.0130   -0.0357
    0.1030   -0.0066   -0.0374
    0.1030   -0.0000   -0.0380
    0.1030    0.0066   -0.0374
    0.1030    0.0130   -0.0357
    0.1030    0.0190   -0.0329
    0.1030    0.0244   -0.0291
    0.1030    0.0291   -0.0244
    0.1030    0.0329   -0.0190
    0.1030    0.0357   -0.0130
    0.1030    0.0374   -0.0066
    0.1530    0.0380         0
    0.1530    0.0374    0.0066
    0.1530    0.0357    0.0130
    0.1530    0.0329    0.0190
    0.1530    0.0291    0.0244
    0.1530    0.0244    0.0291
    0.1530    0.0190    0.0329
    0.1530    0.0130    0.0357
    0.1530    0.0066    0.0374
    0.1530    0.0000    0.0380
    0.1530   -0.0066    0.0374
    0.1530   -0.0130    0.0357
    0.1530   -0.0190    0.0329
    0.1530   -0.0244    0.0291
    0.1530   -0.0291    0.0244
    0.1530   -0.0329    0.0190
    0.1530   -0.0357    0.0130
    0.1530   -0.0374    0.0066
    0.1530   -0.0380    0.0000
    0.1530   -0.0374   -0.0066
    0.1530   -0.0357   -0.0130
    0.1530   -0.0329   -0.0190
    0.1530   -0.0291   -0.0244
    0.1530   -0.0244   -0.0291
    0.1530   -0.0190   -0.0329
    0.1530   -0.0130   -0.0357
    0.1530   -0.0066   -0.0374
    0.1530   -0.0000   -0.0380
    0.1530    0.0066   -0.0374
    0.1530    0.0130   -0.0357
    0.1530    0.0190   -0.0329
    0.1530    0.0244   -0.0291
    0.1530    0.0291   -0.0244
    0.1530    0.0329   -0.0190
    0.1530    0.0357   -0.0130
    0.1530    0.0374   -0.0066
    0.2030    0.0380         0
    0.2030    0.0374    0.0066
    0.2030    0.0357    0.0130
    0.2030    0.0329    0.0190
    0.2030    0.0291    0.0244
    0.2030    0.0244    0.0291
    0.2030    0.0190    0.0329
    0.2030    0.0130    0.0357
    0.2030    0.0066    0.0374
    0.2030    0.0000    0.0380
    0.2030   -0.0066    0.0374
    0.2030   -0.0130    0.0357
    0.2030   -0.0190    0.0329
    0.2030   -0.0244    0.0291
    0.2030   -0.0291    0.0244
    0.2030   -0.0329    0.0190
    0.2030   -0.0357    0.0130
    0.2030   -0.0374    0.0066
    0.2030   -0.0380    0.0000
    0.2030   -0.0374   -0.0066
    0.2030   -0.0357   -0.0130
    0.2030   -0.0329   -0.0190
    0.2030   -0.0291   -0.0244
    0.2030   -0.0244   -0.0291
    0.2030   -0.0190   -0.0329
    0.2030   -0.0130   -0.0357
    0.2030   -0.0066   -0.0374
    0.2030   -0.0000   -0.0380
    0.2030    0.0066   -0.0374
    0.2030    0.0130   -0.0357
    0.2030    0.0190   -0.0329
    0.2030    0.0244   -0.0291
    0.2030    0.0291   -0.0244
    0.2030    0.0329   -0.0190
    0.2030    0.0357   -0.0130
    0.2030    0.0374   -0.0066
    0.2530    0.0380         0
    0.2530    0.0374    0.0066
    0.2530    0.0357    0.0130
    0.2530    0.0329    0.0190
    0.2530    0.0291    0.0244
    0.2530    0.0244    0.0291
    0.2530    0.0190    0.0329
    0.2530    0.0130    0.0357
    0.2530    0.0066    0.0374
    0.2530    0.0000    0.0380
    0.2530   -0.0066    0.0374
    0.2530   -0.0130    0.0357
    0.2530   -0.0190    0.0329
    0.2530   -0.0244    0.0291
    0.2530   -0.0291    0.0244
    0.2530   -0.0329    0.0190
    0.2530   -0.0357    0.0130
    0.2530   -0.0374    0.0066
    0.2530   -0.0380    0.0000
    0.2530   -0.0374   -0.0066
    0.2530   -0.0357   -0.0130
    0.2530   -0.0329   -0.0190
    0.2530   -0.0291   -0.0244
    0.2530   -0.0244   -0.0291
    0.2530   -0.0190   -0.0329
    0.2530   -0.0130   -0.0357
    0.2530   -0.0066   -0.0374
    0.2530   -0.0000   -0.0380
    0.2530    0.0066   -0.0374
    0.2530    0.0130   -0.0357
    0.2530    0.0190   -0.0329
    0.2530    0.0244   -0.0291
    0.2530    0.0291   -0.0244
    0.2530    0.0329   -0.0190
    0.2530    0.0357   -0.0130
    0.2530    0.0374   -0.0066
    0.3030    0.0380         0
    0.3030    0.0374    0.0066
    0.3030    0.0357    0.0130
    0.3030    0.0329    0.0190
    0.3030    0.0291    0.0244
    0.3030    0.0244    0.0291
    0.3030    0.0190    0.0329
    0.3030    0.0130    0.0357
    0.3030    0.0066    0.0374
    0.3030    0.0000    0.0380
    0.3030   -0.0066    0.0374
    0.3030   -0.0130    0.0357
    0.3030   -0.0190    0.0329
    0.3030   -0.0244    0.0291
    0.3030   -0.0291    0.0244
    0.3030   -0.0329    0.0190
    0.3030   -0.0357    0.0130
    0.3030   -0.0374    0.0066
    0.3030   -0.0380    0.0000
    0.3030   -0.0374   -0.0066
    0.3030   -0.0357   -0.0130
    0.3030   -0.0329   -0.0190
    0.3030   -0.0291   -0.0244
    0.3030   -0.0244   -0.0291
    0.3030   -0.0190   -0.0329
    0.3030   -0.0130   -0.0357
    0.3030   -0.0066   -0.0374
    0.3030   -0.0000   -0.0380
    0.3030    0.0066   -0.0374
    0.3030    0.0130   -0.0357
    0.3030    0.0190   -0.0329
    0.3030    0.0244   -0.0291
    0.3030    0.0291   -0.0244
    0.3030    0.0329   -0.0190
    0.3030    0.0357   -0.0130
    0.3030    0.0374   -0.0066
    0.3530    0.0380         0
    0.3530    0.0374    0.0066
    0.3530    0.0357    0.0130
    0.3530    0.0329    0.0190
    0.3530    0.0291    0.0244
    0.3530    0.0244    0.0291
    0.3530    0.0190    0.0329
    0.3530    0.0130    0.0357
    0.3530    0.0066    0.0374
    0.3530    0.0000    0.0380
    0.3530   -0.0066    0.0374
    0.3530   -0.0130    0.0357
    0.3530   -0.0190    0.0329
    0.3530   -0.0244    0.0291
    0.3530   -0.0291    0.0244
    0.3530   -0.0329    0.0190
    0.3530   -0.0357    0.0130
    0.3530   -0.0374    0.0066
    0.3530   -0.0380    0.0000
    0.3530   -0.0374   -0.0066
    0.3530   -0.0357   -0.0130
    0.3530   -0.0329   -0.0190
    0.3530   -0.0291   -0.0244
    0.3530   -0.0244   -0.0291
    0.3530   -0.0190   -0.0329
    0.3530   -0.0130   -0.0357
    0.3530   -0.0066   -0.0374
    0.3530   -0.0000   -0.0380
    0.3530    0.0066   -0.0374
    0.3530    0.0130   -0.0357
    0.3530    0.0190   -0.0329
    0.3530    0.0244   -0.0291
    0.3530    0.0291   -0.0244
    0.3530    0.0329   -0.0190
    0.3530    0.0357   -0.0130
    0.3530    0.0374   -0.0066
    0.4030    0.0380         0
    0.4030    0.0374    0.0066
    0.4030    0.0357    0.0130
    0.4030    0.0329    0.0190
    0.4030    0.0291    0.0244
    0.4030    0.0244    0.0291
    0.4030    0.0190    0.0329
    0.4030    0.0130    0.0357
    0.4030    0.0066    0.0374
    0.4030    0.0000    0.0380
    0.4030   -0.0066    0.0374
    0.4030   -0.0130    0.0357
    0.4030   -0.0190    0.0329
    0.4030   -0.0244    0.0291
    0.4030   -0.0291    0.0244
    0.4030   -0.0329    0.0190
    0.4030   -0.0357    0.0130
    0.4030   -0.0374    0.0066
    0.4030   -0.0380    0.0000
    0.4030   -0.0374   -0.0066
    0.4030   -0.0357   -0.0130
    0.4030   -0.0329   -0.0190
    0.4030   -0.0291   -0.0244
    0.4030   -0.0244   -0.0291
    0.4030   -0.0190   -0.0329
    0.4030   -0.0130   -0.0357
    0.4030   -0.0066   -0.0374
    0.4030   -0.0000   -0.0380
    0.4030    0.0066   -0.0374
    0.4030    0.0130   -0.0357
    0.4030    0.0190   -0.0329
    0.4030    0.0244   -0.0291
    0.4030    0.0291   -0.0244
    0.4030    0.0329   -0.0190
    0.4030    0.0357   -0.0130
    0.4030    0.0374   -0.0066
    0.4530    0.0380         0
    0.4530    0.0374    0.0066
    0.4530    0.0357    0.0130
    0.4530    0.0329    0.0190
    0.4530    0.0291    0.0244
    0.4530    0.0244    0.0291
    0.4530    0.0190    0.0329
    0.4530    0.0130    0.0357
    0.4530    0.0066    0.0374
    0.4530    0.0000    0.0380
    0.4530   -0.0066    0.0374
    0.4530   -0.0130    0.0357
    0.4530   -0.0190    0.0329
    0.4530   -0.0244    0.0291
    0.4530   -0.0291    0.0244
    0.4530   -0.0329    0.0190
    0.4530   -0.0357    0.0130
    0.4530   -0.0374    0.0066
    0.4530   -0.0380    0.0000
    0.4530   -0.0374   -0.0066
    0.4530   -0.0357   -0.0130
    0.4530   -0.0329   -0.0190
    0.4530   -0.0291   -0.0244
    0.4530   -0.0244   -0.0291
    0.4530   -0.0190   -0.0329
    0.4530   -0.0130   -0.0357
    0.4530   -0.0066   -0.0374
    0.4530   -0.0000   -0.0380
    0.4530    0.0066   -0.0374
    0.4530    0.0130   -0.0357
    0.4530    0.0190   -0.0329
    0.4530    0.0244   -0.0291
    0.4530    0.0291   -0.0244
    0.4530    0.0329   -0.0190
    0.4530    0.0357   -0.0130
    0.4530    0.0374   -0.0066
    0.5030    0.0380         0
    0.5030    0.0374    0.0066
    0.5030    0.0357    0.0130
    0.5030    0.0329    0.0190
    0.5030    0.0291    0.0244
    0.5030    0.0244    0.0291
    0.5030    0.0190    0.0329
    0.5030    0.0130    0.0357
    0.5030    0.0066    0.0374
    0.5030    0.0000    0.0380
    0.5030   -0.0066    0.0374
    0.5030   -0.0130    0.0357
    0.5030   -0.0190    0.0329
    0.5030   -0.0244    0.0291
    0.5030   -0.0291    0.0244
    0.5030   -0.0329    0.0190
    0.5030   -0.0357    0.0130
    0.5030   -0.0374    0.0066
    0.5030   -0.0380    0.0000
    0.5030   -0.0374   -0.0066
    0.5030   -0.0357   -0.0130
    0.5030   -0.0329   -0.0190
    0.5030   -0.0291   -0.0244
    0.5030   -0.0244   -0.0291
    0.5030   -0.0190   -0.0329
    0.5030   -0.0130   -0.0357
    0.5030   -0.0066   -0.0374
    0.5030   -0.0000   -0.0380
    0.5030    0.0066   -0.0374
    0.5030    0.0130   -0.0357
    0.5030    0.0190   -0.0329
    0.5030    0.0244   -0.0291
    0.5030    0.0291   -0.0244
    0.5030    0.0329   -0.0190
    0.5030    0.0357   -0.0130
    0.5030    0.0374   -0.0066
    0.5530    0.0347         0
    0.5530    0.0342    0.0060
    0.5530    0.0326    0.0119
    0.5530    0.0301    0.0174
    0.5530    0.0266    0.0223
    0.5530    0.0223    0.0266
    0.5530    0.0174    0.0301
    0.5530    0.0119    0.0326
    0.5530    0.0060    0.0342
    0.5530    0.0000    0.0347
    0.5530   -0.0060    0.0342
    0.5530   -0.0119    0.0326
    0.5530   -0.0174    0.0301
    0.5530   -0.0223    0.0266
    0.5530   -0.0266    0.0223
    0.5530   -0.0301    0.0174
    0.5530   -0.0326    0.0119
    0.5530   -0.0342    0.0060
    0.5530   -0.0347    0.0000
    0.5530   -0.0342   -0.0060
    0.5530   -0.0326   -0.0119
    0.5530   -0.0301   -0.0174
    0.5530   -0.0266   -0.0223
    0.5530   -0.0223   -0.0266
    0.5530   -0.0174   -0.0301
    0.5530   -0.0119   -0.0326
    0.5530   -0.0060   -0.0342
    0.5530   -0.0000   -0.0347
    0.5530    0.0060   -0.0342
    0.5530    0.0119   -0.0326
    0.5530    0.0174   -0.0301
    0.5530    0.0223   -0.0266
    0.5530    0.0266   -0.0223
    0.5530    0.0301   -0.0174
    0.5530    0.0326   -0.0119
    0.5530    0.0342   -0.0060
    0.6030    0.0242         0
    0.6030    0.0238    0.0042
    0.6030    0.0227    0.0083
    0.6030    0.0209    0.0121
    0.6030    0.0185    0.0155
    0.6030    0.0155    0.0185
    0.6030    0.0121    0.0209
    0.6030    0.0083    0.0227
    0.6030    0.0042    0.0238
    0.6030    0.0000    0.0242
    0.6030   -0.0042    0.0238
    0.6030   -0.0083    0.0227
    0.6030   -0.0121    0.0209
    0.6030   -0.0155    0.0185
    0.6030   -0.0185    0.0155
    0.6030   -0.0209    0.0121
    0.6030   -0.0227    0.0083
    0.6030   -0.0238    0.0042
    0.6030   -0.0242    0.0000
    0.6030   -0.0238   -0.0042
    0.6030   -0.0227   -0.0083
    0.6030   -0.0209   -0.0121
    0.6030   -0.0185   -0.0155
    0.6030   -0.0155   -0.0185
    0.6030   -0.0121   -0.0209
    0.6030   -0.0083   -0.0227
    0.6030   -0.0042   -0.0238
    0.6030   -0.0000   -0.0242
    0.6030    0.0042   -0.0238
    0.6030    0.0083   -0.0227
    0.6030    0.0121   -0.0209
    0.6030    0.0155   -0.0185
    0.6030    0.0185   -0.0155
    0.6030    0.0209   -0.0121
    0.6030    0.0227   -0.0083
    0.6030    0.0238   -0.0042
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0
    0.6530         0         0

1 个答案:

答案 0 :(得分:0)

MATLAB以与您提供的矢量相同的顺序绘制点。例如,

plot3([x1 x2 x3], [y1 y2 y3], [z1 z2 z3])

会将[x1 y1 z1][x2 y2 z2]联系起来,并将[x2 y2 z2][x3 y3 z3]联系起来。如果要创建由多条曲线组成的火箭形状,则需要对每条曲线使用一个plot3命令。