www.gusucode.com > map 案例源码 matlab代码程序 > map/PlotQuiverVectorsCorrespondingToLatitudeAndLongitudeExample.m
%% Plot Quiver Vectors Corresponding to Latitude and Longitude % %% % Load the coast lines dataset. load coastlines %% % Setup an axes specifying latitude and longitude limits. Plot the coast % line data. axesm('eqaconic','MapLatLimit',[30 60],'MapLonLimit',[-10 10]) framem; plotm(coastlat,coastlon) %% % Plot quiver vectors in a direction corresponding to +5 degrees % latitude and +3 degrees longitude. Use automatic scaling. lat0 = [50 39.7]; lon0 = [-5.4 2.9]; deltalat = [5 5]; deltalon = [3 3]; quiverm(lat0,lon0,deltalat,deltalon,'r')