How to draw maps like in m_map tool?

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:
or
?
Thanks a lot.

···

http://www.eos.ubc.ca/~rich/private/extblueocean.gifhttp://www.eos.ubc.ca/~rich/private/exmiller.gif

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

Hi, Jeff

Sorry for the confusion. Yes, I mean to draw the black/white border

(called fancy box in m_map). Drawing the maps is really easy to use,
thanks for your great Api. Is there plan to support the fancy border
feature in near future?

Thank you for replying.
···

http://matplotlib.sourceforge.net/basemap/doc/html/api/index.html


http://p.sf.net/sfu/oracle-sfdevnl


Matplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users

  Hi, Jeff



  Sorry for the confusion. Yes, I mean to draw the black/white

border (called fancy box in m_map). Drawing the maps is really
easy to use, thanks for your great Api. Is there plan to support
the fancy border feature in near future?

No, but patches are welcome.

-Jeff
···

On 1/2/11 9:17 PM, Linuxer Wang wrote:

  Thank you for replying.





  On 01/02/2011 06:09 PM, Jeff Whitaker wrote:

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
or http://www.eos.ubc.ca/~rich/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](http://p.sf.net/sfu/oracle-sfdevnl)
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
[https://lists.sourceforge.net/lists/listinfo/matplotlib-users](https://lists.sourceforge.net/lists/listinfo/matplotlib-users)