more than 9 subplots in matplotlib
It was easier than I expected, I just did: pylab.subplot(4,4,10)
and it worked.
You can also do it like this with pyplot:
import matplotlib.pyplot as pltoFig1 = plt.figure(1)oFig1.add_subplot(4,4,11) #(m,n,x) -> x starts with 1...
You could also do
import matplotlib.pyplot as pltN = 10 # number of subplots you wantfig, axes = plt.subplots(nrows = N)
Then len(axes) = N
, meaning you'll have an axis for each subplot to work with.