[Tutor] Plot multiple lines using python / basemap

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Nov 15 11:58:42 CET 2012


On 15/11/2012 09:20, Boris Vladimir Comi wrote:
>
>
> Hi all:
>
> I have begun to learn about python / matplolib / basemap and really need some help.
>
> How to open excel file in python?

As Dave Angel has suggested save your data in csv format or use this 
http://www.python-excel.org/

>
> I would like to plot multiple line joining the positions of each of the events, it is possible to do this? Have any idea how to do it?

The matplotlib documentation is here http://matplotlib.org/contents.html 
and it's superb.  As an added bonus matplotlib 1.2.0 has just been 
released and it supports Python 3, yee haa :)  You might consider using 
matplotlib with IPython see http://ipython.org/, together they make a 
very powerful working environment.

>
> The idea is to plot the trajectories on a particular region, for my case is Mexico.
>


-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list