(1)函数scatter3
用法:scatter3(x,y,z,'.',c) % c 为颜色,需和x ,y,z长度相同
例子:
x=[4229042.634230585.024231384.964231773.634233028.584233296.714235869.684236288.29];
y=[431695.4441585.8432745.6436933.7428734.4431946.3428705.0432999.5];
z=[1.0191.0231.0111.0221.0201.0221.0221.023];
scatter3(x,y,z)
注:x,y,z必须是等长度的数对(即三个等长的矢量)
(2)函数plot3
用法:plot3(x,y,z,'b.','MarkerSize',0.5)% MarkerSize 表示点的大小,b.表示绿色的点。
更多尽在 www.dly-blog.com