[Tutor] Plot trajectories on an map using matplotlib-basemap

2013-01-28 Thread Boris Vladimir Comi
#! /usr/bin/python import numpy as np data = np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1) print data [['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM'] ['19.70' '-94.70' '2/5/04 7:45 AM' '1' '-48' 'CCM'] ['19.30' '-93.90' '2/5/04 8:45 AM' '1' '-60' 'CCM']

Re: [Tutor] Plot multiple lines using python / basemap

2012-11-15 Thread Mark Lawrence
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

Re: [Tutor] Plot multiple lines using python / basemap

2012-11-15 Thread Dave Angel
On 11/15/2012 04:20 AM, Boris Vladimir Comi wrote: > > Hi all: > > I have begun to learn about python / matplolib / basemap and really need some > help. > > My data is in an Excel workbook with the following structure: > > Evento FechaLatitud

[Tutor] Plot multiple lines using python / basemap

2012-11-15 Thread Boris Vladimir Comi
Hi all: I have begun to learn about python / matplolib / basemap and really need some help. My data is in an Excel workbook with the following structure: Evento FechaLatitud Longitud Hora (UTC)

Re: [Tutor] plot

2011-11-14 Thread lina
May I ask something I met during reading the graph links provided? For the case I faced now, ... [['76', '34', '76'], ['1', '5', '1']] [['64', '62', '58'], ['64', '58', '64'], ['13', '46', '64']] ... [['64', '75', '64'], ['62', '46', '13'], ['64', '75', '64'], ['64', '75', '62'], ['64', '75', '

Re: [Tutor] plot

2011-11-14 Thread lina
On Mon, Nov 14, 2011 at 10:12 PM, Walter Prins wrote: > Hi Lina, > > On 14 November 2011 12:39, lina wrote: >> >> I have not experienced in "plot a figure" with python. >> Try python-pygraphviz is a good choice? > > Graphviz is a library to help visualize graphs in the computer science > sense. 

Re: [Tutor] plot

2011-11-14 Thread Walter Prins
Hi Lina, On 14 November 2011 12:39, lina wrote: > I have not experienced in "plot a figure" with python. > Try python-pygraphviz is a good choice? > Graphviz is a library to help visualize graphs in the computer science sense. (See http://en.wikipedia.org/wiki/Graph_%28data_structure%29 or th

[Tutor] plot

2011-11-14 Thread lina
Hi, I have not experienced in "plot a figure" with python. Just wonder: Try python-pygraphviz is a good choice? http://pzwart3.wdka.hro.nl/wiki/PythonGraphviz another question: pygrphviz can achieve a better effect than the one on the wikipage, such as can I change the round circle into somet