% This M-file plots a single curve on a single panel.

% change defaults for plotting
set(0,'DefaultAxesFontSize',16)

% set up variable vectors
% The data to be ploted is in file "data.dat" and contains multiple
% columns. In the example below time is in column 1 and voltage is in column
% two.
load data.dat
t = data(:,1);
x = data(:,2);

% plot time course
plot(t,x,'black');
axis([0 20 0 5]);
title('Sample plot');
xlabel('t ');
ylabel('V ');
