From: Markus H. <mar...@st...> - 2009-05-20 19:01:02
|
Am Mittwoch, den 20.05.2009, 10:21 -0500 schrieb Ryan May: > > Except that it won't work like that. :) (I actually tried that the > first time) You need to give Figure.colorbar() the mappable as the > first argument. So this would then become: > > ax1 = fig.add_subplot(231,aspect='equal') > pc = ax1.pcolor(xsr) > ax1.axis([0, 127, 0, 127]) > fig.colorbar(pc) Yep, that's it. It works now. Thank you for your help, Cheers, Markus |