clear;

file='data/track_d03.patcf';
fid=fopen(file,'r');
tmp=fgets(fid);

nm=1;
while length(tmp)>100
    time(nm)=str2double(tmp(1:11));
    spd(nm)=str2double(tmp(20:26));
    pmin(nm)=str2double(tmp(39:46));
    lat(nm)=str2double(tmp(60:65));
    lon(nm)=-str2double(tmp(75:81));
    nm=nm+1;
    tmp=fgets(fid);
end

subplot(2,2,1);
plot(time/86400,spd);

subplot(2,2,2);
plot(time/86400,pmin);