%  File:  precipPlot.m
%
%  Load data from PDXprecip.dat and plot it with symbols

load PDXprecip.dat;         %  read data into PDXprecip matrix 
month = PDXprecip(:,1);     %  copy first column of PDXprecip into month
precip = PDXprecip(:,2);    %  and second column into precip

plot(month,precip,'o');     %  plot precip vs. month with circles

xlabel('month of the year');              %  add axis labels and plot title
ylabel('mean precipitation (inches)');
title('Mean monthly precipitation at Portland International Airport');
