|
From: Alan G I. <ala...@gm...> - 2010-03-29 01:05:48
|
On 3/28/2010 7:19 PM, Friedrich Romstedt wrote:
> I fixed your problem
Can you explain this:
norm = colors.Normalize(vmin = -1, vmax = 1)
I take it that this scales the range for the
color bar, which is what 'luminance' must
refer to in the docs? In which case, can
we just set vmin and vmax as imshow keywords?
patch = ax.imshow(Z, interpolation='nearest', extent=[-5,5,-5,5],
vmin = -1, vmax = 1)
(Seems to work.)
Thanks!
Alan
|