ordinates. 
% 
% |[...] = pspath(...,'method',InterpolationMethod)| specifies an interpolation 
% method for path creation. Default is |'linear'|. 
% 
%% Example
% AMT comes with some sample data.  Consider this segment of a sample flight line: 

D = load('samplegrid.mat'); 
lat = D.lat(4000:10:5000); 
lon = D.lon(4000:10:5000); 
z = D.z(4000:10:5000); 

% And perhaps there's some missing data: 
lat([10 20:25 60:65 80:82]) = [];  
lon([10 20:25 60:65 80:82]) = [];  
z([10 20:25 60:65 80:82]) = [];  

plotps