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 see that the contourf output is different > (2.png). Why this difference ? Whether i include colorbar or not, the > contourf should create similar plot right ?. Am i wrong something > wrong in the code. Kindly help me to understand the problem.
Bala: The shape of the plot changes, because colorbar adjusts the axes to make room for itself. Otherwise the plots look identical. Am I missing something? -Jeff ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users