On 1/2/11 1:01 PM, Linuxer Wang wrote:
This may be a question for Jeffrey Whitaker but welcome anyone's help.

I used to use the m_map tool for matlab (http://www.eos.ubc.ca/~rich/map.html <http://www.eos.ubc.ca/%7Erich/map.html>). Does anybody know how to draw the same maps in matplotlib (BaseMap)? Specifically, how to draw axes in such figures: http://www.eos.ubc.ca/~rich/private/extblueocean.gif <http://www.eos.ubc.ca/%7Erich/private/extblueocean.gif> or http://www.eos.ubc.ca/~rich/private/exmiller.gif <http://www.eos.ubc.ca/%7Erich/private/exmiller.gif> ?

Thanks a lot.

Can you be more specific about what you need help with? Is it drawing the map itself, or drawing the lines on the map? examples/nytolondon.py shows how to draw great circles, which is similar to the extblueocean.gif example.


If you are asking how to draw that black and white border around the map, that is not supported. However, it is easy to draw labelled meridians and parallels (with the drawparallels and drawmeridians class methods). Docs are at http://matplotlib.sourceforge.net/basemap/doc/html/api/index.html, and there are lots of examples in the 'examples' directory of the source distribution.

HTH,

-Jeff

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to