plot con python
Publicado por nowar (1 intervención) el 27/03/2007 14:41:28
hi,
>
>i am looking for the easy way to plot some coordinates with
>scipy.gplt.pyPlot this is how i try it but is not working as i would like
>to....
>the new list is a list of pair coordinates something like this:
>
lo que necesito es saber como imprimir cada linea como un solo punto
>[-6.654644,65.55555]
>[-6.645654,65.98798]
>[-6.987813,65.28951]
>[-6.645654,65.65987]
>[-6.634895,65.36985]
>
> >>>import scipy.plt
> >>>from scipy import gplt
> >>>draw=scipy.gplt.pyPlot.Plot()
> >>>draw.plot(newlist)
> >>>draw.title('little map')
> >>>draw.xtitle('longitude')
> >>>draw.ytitle('latitude')
>
>the thing is that i get in the x axes the number of list and then two strait
>lines
>
>
>65_________________________________
>50
>35
>20
>5
>-10-------------------------------------------------
>0 1 2 3 4 5 ............
>
esto es lo que imprime
alguna ayuda please
>can anybody help me.
>thanks in advance
>Nowar00
>
>i am looking for the easy way to plot some coordinates with
>scipy.gplt.pyPlot this is how i try it but is not working as i would like
>to....
>the new list is a list of pair coordinates something like this:
>
lo que necesito es saber como imprimir cada linea como un solo punto
>[-6.654644,65.55555]
>[-6.645654,65.98798]
>[-6.987813,65.28951]
>[-6.645654,65.65987]
>[-6.634895,65.36985]
>
> >>>import scipy.plt
> >>>from scipy import gplt
> >>>draw=scipy.gplt.pyPlot.Plot()
> >>>draw.plot(newlist)
> >>>draw.title('little map')
> >>>draw.xtitle('longitude')
> >>>draw.ytitle('latitude')
>
>the thing is that i get in the x axes the number of list and then two strait
>lines
>
>
>65_________________________________
>50
>35
>20
>5
>-10-------------------------------------------------
>0 1 2 3 4 5 ............
>
esto es lo que imprime
alguna ayuda please
>can anybody help me.
>thanks in advance
>Nowar00
Valora esta pregunta


0