MATLAB Examples

book_3_73.m

Plot without bank45

load carbondioxide

plot(Year,CO2)
xlabel('Year')
ylabel('CO_2 (ppm)')
axis square

% Make just a little room around points.
axis tight
ax = axis;
ax(1) = ax(1)-1;
ax(2) = ax(2)+1;
ax(3) = ax(3)-5;
ax(4) = ax(4)+5;
axis(ax)
title('Monthly Average Carbon Dioxide')