|
UMass /
LinuxReferences:Useful Commands:
VI Keystrokes:
KSH Keystrokes:CTRL+P - Go up in command history CTRL+B - Go back in commandline CTRL+A - Go to start of commandline CTRL+E - Go to end of commandline CTRL+D - Delete character MATLAB:
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');
|