Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
mb
Posts:
2
Registered:
12/10/10
|
|
Not able to set lat limit
Posted:
Feb 27, 2013 12:19 PM
|
|
I want to plot a map of the region north of 60N using:
coast=load('coast'); figure() axesm('stereo','origin',[90 0],'MapLatLimit',[60 90]) gridm on; geoshow(coast.lat,coast.long)
The resulting figure displays the coast lines for the entire northern hemisphere, not just the region north of 60N, but the grid lines are only displayed for the northernmost region.
On page 4-28 in the Mapping Toolbox Userguide, R2012b, you can find and example doing exactly what I do (except the example plot a map of the south pole), and in the figure shown there the plot is cut at the latitude limite set by 'MapLatLimit'. (For the record, I have tried to reproduce the figure in the Userguide with the code given there, with no luck, have the same problem there, coast lines are plotted for entire hemisphere).
Does anyone have an idea why this doesn't work for me? I have a slightly older version of Matlab (R2008a), and suspect this could be the cause of my problems? If so, do anyone know how to fix this in my (older) version of Matlab?
Thanks in advance!
/Marit
|
|
|
|