Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Not able to set lat limit
Replies: 1   Last Post: Mar 4, 2013 5:48 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
mb

Posts: 2
Registered: 12/10/10
Not able to set lat limit
Posted: Feb 27, 2013 12:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.