Lecture 24
Recap
Plots with More than one Line
Plots of Complex Arrays
Line, Color and Mark Style
Axis Scaling and Annotating Plots
Subplots
Polar Plots
Logarithmic Plots
Bar Graphs and Pie Charts
Histograms
Function Plots
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);