%% 3d plots
% file: ThreeDplots.m
%% W.J. Palm p. 246
%
clear; close all
t=linspace(0,10*pi,1000);
x=exp(-0.05*t).*cos(t);
y=exp(-0.05*t).*sin(t);
plot(x,y)
axis square
%% Let's take 3^rd dimension
z=t;
figure
plot3(x,y,z)
grid on
xlabel('x(t)');ylabel('y(t)');zlabel('z(t)')