%% This is my first lab report - fjsimonsl02.pdf

clear
% Independent variable
x=[1:10];
% Dependent variable
y=x*10;
% Make a nice plot
p=plot(x,y);
xl=xlabel('time (s)');
yl=ylabel('concentration (mol/l)');
% Cosmetics
p.LineWidth=2;
xl.FontSize=16;
yl.FontSize=16;

%
% Now I illustrate how to load an image from the Web and plot it.

fname='http://geoweb.princeton.edu/people/simons/PIX/varves2.jpg';
X=webread(fname);
image(X)
xlabel('columns')
ylabel('rows')
title(fname)

%% Conclusion:
% This was our first lab.
%