On Fri, Oct 19, 2012 at 10:23 PM, Daπid <davidmen...@gmail.com> wrote:
> On Fri, Oct 19, 2012 at 11:08 PM, elmar werling <el...@net4werling.de> wrote:
>> vmin=min(z), vmax=max(z)
>
> A suggestion, when dealing with arrays, it is generally faster to use
> the numpy function to compute the max and min, either np.max(z) or
> z.max(), than the standard Python one.

Correct me if I'm wrong, but I don't even think you need them. I think
the default cmap behaviour is to normalise to the min and max of the
data.

-- 
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to