I’m making a quiver and plotting its colorbar alongside it, like so:
FIG = figure() AX1 = FIG.add_subplot(111) QIV = AX1.quiver(X, Y, U, V, C) FIG.colorbar(QIV)
The problem I’m facing is that depending the maximum of C, the scale on the colorbar keeps changing for different figures. Can I set a maximum value, so that I can then compare the colors on different figures?
I found the
boundaries option, but that makes things discrete, and it doesn’t seem to change the colors in the quiver. How do I achieve what I want?