[Image-SIG] Plot multiple lines using python / basemap

Boris Vladimir Comi glez_b at comunidad.unam.mx
Thu Nov 15 10:20:50 CET 2012



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                     Fecha                        Latitud                                 Longitud                  Hora (UTC)
    1                          02/mayo                         19,7                                        -95,2                          0045
                                                                       19,3                                       -95.3                          0115
                                                                       19,8                                       -95,6                           0145
                                                                       19,9                                       -96,6                           0215
                                                                     

    2                           03/mayo                         20,2                                       -99,6                             0815
                                                                        21,5                                       -99,8                            0845
                                                                        22,5                                       -99,9                            0915
                                                                        23,5                                       -100,0                           0945

    3                          15/mayo                          21,3                                        -118,9                            2215
                                                                        21,5                                         -118,7                          2245
                                                                        22,8                                         -120,3                           2315
 
     .                              .                                    .                                                   .                                   .
     .                              .                                    .                                                   .                                   .
     .                              .                                    .                                                   .                                   .






How to open excel file in python?

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 idea is to plot the trajectories on a particular region, for my case is Mexico.


More information about the Image-SIG mailing list