|
From: John H. <jdh...@ac...> - 2004-12-13 17:44:48
|
>>>>> "seberino" == seberino <seb...@sp...> writes:
seberino> I'm using pcolor. All z values looked the same color.
seberino> It may be a my fault (my bug) if you say colors should
seberino> be different. I'll try your customizations too.
seberino> Does clim work with pcolor?
There may be a problem with colormapping/clim in 0.64, but these are
all fixed in the next release of matplotlib, due out today. I just
tested
1 >>> Z = rand(10,10)*20000 + 40000
2 >>> pcolor(Z)
Out[2]: <matplotlib.collections.PolyCollection instance at 0x41d3cf4c>
3 >>> colorbar
----> colorbar()
Out[3]: <matplotlib.axes.Axes instance at 0x41d3624c>
4 >>> clim(30000,80000)
and everything worked as expected.
JDH
|