I have a list of arrays or an array of arrays that looks like
a=[array1([.....]),array2([.....]),array3([....]),.....]
and a separate array b (not a list)
b=np.array[()]
All the arrays in the list "a" are the same length and the same length as "b". I want to plot all the arrays in list "a" on the y axis verses "b" on the x axis all on the same plot. So one plot that consists of a[0]vs b, a[1] vs b, a[2] vs b,...and so on.
How can I do this?
I tried
f, axes = plt.subplots(len(a),1)
for g in range(len(a)):
axes[g].plot(b,a[g])
plt.show()
but this gives me many plots stacked on each other and they don't even have all the data. I want everything on one plot.