jetlut
Color lookup table akin to Matlab's JET
Call signature:
jetlut(N=256)
Help text:
jetlut(n) returns a Color lookup table akin to Matlab's jet, but with better sampling of color space, especially for small n.
n defaults to 256.
Download pdf
Example:
import pyqplot as qp
import numpy as np
qp.figure('jetlut', 3, 3)
xx = np.tile(np.arange(11), (11,1))
yy = np.transpose(xx)
zz = np.cos(xx) + np.sin(yy)
qp.lut(qp.jetlut(100))
qp.imsc(zz, xx=xx, yy=yy, c0=-2, c1=2)
qp.xaxis('X', [0,5,10], y=-.5, lim=[-.5, 10.5])
qp.yaxis('Y', [0,5,10], x=-.5, lim=[-.5, 10.5])
qp.cbar(width=10)
qp.caxis()
Download source.