David Craig :
> I'm trying to produce a map with 12 locations marked on it and straight
> lines plotted between each point and all other points on the map. I have
> the map with the locations ok but am having trouble getting the lines.
> My code is below anyone know how to do this??
> ...
> for i in range(len(lons)):
>       for j in range(len(lons)):
>           if i == j: continue
>           m.plot([x[i],y[i]],[x[j],y[j]],'k')
I am not sure what do you really want, but perhaps replace the last 
cited line by:

m.plot([x[i],x[j]],[y[i],y[j]],'k')

==

All the best.

Jerzy Karczmarczuk
Caen, France


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to