Maybe someone already answered, but if not, the answer is the pylab 
clim() function, or directly using the image or collection set_clim() 
method.  Simple example for you to try using the ipython -pylab environment:

contourf(rand(20,30))
clim(-1, 2)

Eric

Sebastian Krieger wrote:
> Hi everybody!
> 
> I've just started using Python and matplotlib & basemap in order to 
> continue using Matlab. I want to make some sea surface height anomaly 
> plots and could find out how to define the color limits equivalent to 
> caxis in Matlab. Can anyone help me?
> 
> Thanks
> Sebastian
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to