>2009/10/1 ringobelingo <ringobeli...@gmail.com>:
> I would like to add coastlines to a map but do not want interior
> 'coastlines'. At present, without them my continents are not distinct enough
> from the data I am plotting in the background. But, when I draw them using
> drawcoastlines(), I also get e.g. the great lakes showing up, and this just
> makes my world maps look messy and distracts from my data which should be
> the main focus. Does anyone know of a way to force this to happen, or is it
> something that might be added, i.e. splitting the function into
> drawcoastlines() and drawicoastlines() ... ?

The easiest way to address this is to obtain (or make) a GIS shapefile
that has the coastlines you'd like to see. Then use the
readshapefile() method on your Basemap object instead of the
drawcoastlines() method.

my_map = Basemap(...)
my_map.readshapefile(my_shpfile_name)

Cheers,
Scott

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to