[matplotlib-devel] pcolor & colorbar with log normalised colour scale

2006-11-28 Thread JIM MacDonald
Hi, I'm trying to do a pcolor plot with a log normalised colour scale. Following advice from past posts to this list I specialised the matplotlib.colors.normalize class, and passed an instance of that to pcolor using the norm kwarg. This works fine :-) But when I add a colorbar it goes wrong. T

Re: [matplotlib-devel] pcolor & colorbar with log normalised colour scale

2006-11-28 Thread Eric Firing
JIM MacDonald wrote: > Hi, > > I'm trying to do a pcolor plot with a log normalised colour scale. > Following advice from past posts > to this list I specialised the matplotlib.colors.normalize class, and > passed an instance of that to > pcolor using the norm kwarg. > > This works fine :-) > >

Re: [matplotlib-devel] pcolor & colorbar with log normalised colour scale

2006-11-28 Thread JIM MacDonald
Hi Eric, Thanks for your reply. It made me realise a few things > But when I add a colorbar it goes wrong. The colorbar is labelled with > the log of the values, rather > than values, and the colour only fills the top third of the colorbar. In the absence of additional kwargs, colorbar uses