Re: [Matplotlib-users] How to draw a specific country by basemap?

2011-02-09 Thread Eric Liang
On 01/27/2011 09:24 PM, Thomas Lecocq wrote: > Hi, > > Adding some extra work in the readshapefile method in your code allows > you to play with the region names etc,... > > I've just made a new tutorial script to show this : > > http://www.geophysique.be/2011/01/27/matplotlib-basemap-tutoria

Re: [Matplotlib-users] How to draw a specific country by basemap?

2011-01-27 Thread Eric Liang
On 01/27/2011 01:38 AM, Thomas Lecocq wrote: > Hi, > > An easy way is to use the data from http://www.gadm.org/ and to plot > it with m.readshapefile() Thank you very much. The GDAM database is great. BTW, would you like to give some suggestions about how to color the map, i.e., highlight a speci

[Matplotlib-users] How to draw a specific country by basemap?

2011-01-26 Thread Eric Liang
Hi all, I'm using the Basemap module in matplotlib, it's great to draw a world map but for a specific country. Empirically, one can draw its own country by specifying the lats and longs like this example: http://matplotlib.sourceforge.net/basemap/doc/html/users/geography.html And you can use