Whoops, make that:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import matplotlib.lines as lines
import numpy as np
m = Basemap(llcrnrlon=-11.5,llcrnrlat=51.0,urcrnrlon=-4.5,urcrnrlat=56.0,
resolution='i',projection='cass',lon_0=-4.36,lat_0=54.7)
lats = [53
David,
The loop is you have is unnecessary. You can plot the markers and the
lines at the same time like so:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import matplotlib.lines as lines
import numpy as np
m = Basemap(llcrnrlon=-11.5,llcrnrlat=51.0,urcrnrlon=-4.5,urcrn
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 i
Hi,
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??
Thanks
D
from mpl_toolkits.ba