%An example of a 3D Line plot
t = [0:0.1:100];
x = (t/50).^2..*cos(t);
y = (t/50).^2.*sin(t);
z = t/10;
plot3(x,y,z);
axis equal;
axis([-2,2,-2,2,-1,12,0, 1]);