Thank you so much Ben,
Now the plot comes correctly after trying your suggestion.
I set *cmap.set_under() and cmap.set_over()* before calling contourf() and
now the plot comes correctly irrespective of cal to the colorbar() function.
Thanks,
Bala
On Thu, Oct 14, 2010 at 5:09 PM, Benjamin Root
On Thu, Oct 14, 2010 at 7:58 AM, Jeff Whitaker wrote:
> On 10/14/10 5:21 AM, Bala subramanian wrote:
> > Friends,
> > I wrote a small program to plot a matrix using contourf function. The
> > code is pasted below. The image that is created is attached (1.png).
> > Now if i make the same figure,
On 10/14/10 5:21 AM, Bala subramanian wrote:
> Friends,
> I wrote a small program to plot a matrix using contourf function. The
> code is pasted below. The image that is created is attached (1.png).
> Now if i make the same figure, just by omitting the colorbar by
> commenting the line, then i