Is there a way of getting an individual color value via an "index" of a ColorMap object in PyPlot? This (Python) code snippet (from here <http://stackoverflow.com/a/12858391/2175008>) hopefully explains what I'm after:
>>> import matplotlib.pyplot as plt >>> Blues = plt.get_cmap('Blues') >>> print Blues(0) (0.9686274528503418, 0.9843137264251709, 1.0, 1.0) >>> print Blues(0.5) (0.41708574119736169, 0.68063054575639614, 0.83823145908467911, 1.0) >>> print Blues(1.0) (0.96555171293370867, 0.9823452528785257, 0.9990157632266774, 1.0) Thanks, Chris