Dear all,

here in cookbook it says "Ever wanted to reverse a colormap, or to desaturate one ? Here is a routine to apply a function to the look up table of a colormap: "
http://www.scipy.org/Cookbook/Matplotlib/ColormapTransformations

but I don't know how to use cmap_map function as in the link to reverse, for example, the cm.jet colormap?

thanks,

Chao
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************