www.gusucode.com > 关于海航matlab和lingo的训练题 > 三维曲线.m

    t=linspace(0,10*pi,1000);
plot3(cos(t),sin(t),t)
figure,plot3(t.*cos(t),t.*sin(t),t)