Added colormap code.