cmap function

Apply a color map to numeric data