|
From: Linuxer W. <lin...@gm...> - 2011-01-02 20:01:57
|
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. |
|
From: Zhong W. <zhwang@u.washington.edu> - 2011-01-02 19:59:43
|
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. |
|
From: Jeff W. <js...@fa...> - 2011-01-03 02:23:33
|
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 |
|
From: Linuxer W. <lin...@gm...> - 2011-01-03 04:17:16
|
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. 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 >> <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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Jeff W. <js...@fa...> - 2011-01-03 05:20:41
|
On 1/2/11 9:17 PM, Linuxer Wang wrote: > > 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 > > 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 >>> <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 >> Mat...@li... <mailto:Mat...@li...> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |