
Three Dimensional Line Plots
The plot3 function is similar to the plot function, except
that it accepts data in three dimensions
Instead of just providing x and y vectors, the user must
also provide a z vector
These ordered triples are then plotted in three-space and
connected with straight lines
For example:
clear, clc
x = linspace(0,10*pi,1000);
y = cos(x);
z = sin(x);