% humps_plot.m
%  Make a plot of MATLAB's "humps" function.
%
%  In order to make this plot, I have to use ideas and commands we haven't
%  talked about yet.  We will cover them later.  However, if you look over
%  this script, you may be able to figure out how to change it to make
%  other interesting plots, even before we officially know how.
%
%  The "linspace" command creates a list of 101 evenly spaced values 
%  betwen 0.0 and 1.0.
%
  xlist = linspace ( 0.0, 1.0, 101 );
%
%  If xlist is a list of X values, then humps(xlist) returns another list,
%  the value of the humps function at each x in xlist.
%
  ylist = humps ( xlist );
%
%  The plot command takes two lists and makes a plot.
%
  plot ( xlist, ylist );
%
%  If we want, we can add a grid, title, and X and Y labels.
%
  grid;
  title ( 'MATLAB''s "humps(x)" function' );
  xlabel ( '<-- X -->' );
  ylabel ( '<-- Y -->' );