 want equal spacing-- let's get a path with a point every 500 m:</p><pre class="codeinput">[lati,loni] = pspath(lat,lon,500);
plotps(lati,loni,<span class="string">'rx-'</span>)
</pre><img vspace="5" hspace="5" src="pspath_documentation_02.png" alt=""> <p>Maybe you prefer spline interpolation:</p><pre class="codeinput">[lati_spline,loni_spline] = pspath(lat,lon,500,<span class="string">'method'</span>,<span class="string">'spline'</span>);
plotps(lati_spline,loni_spline,<span class="string">'b^-'</span>)
</