I'm trying to, for simplicity's sake, plot a line over a 2D histogram, with both the line and the histogram points referring to latitude/longitude coordinates.
Here's an example of the sort of thing I'm trying to do:
import numpy as np
import matplotlib.pyplot as plt
img = np.random.rand(10,10)
longs = [100,101]
lats = [45,46]
x = np.linspace(100,100)
y = np.linspace(45,46)
plt.figure()
plt.imshow(img,extent=[longs[0],longs[1],lats[0],lats[1]])
plt.plot(x,y)
plt.show()
