I would like to have my colorbar range from 0 to 1 and add a label (Leaf A) exactly like the Leaf B label on the other side of the y-axis.
I have attached my .png -------------------------------------------------------------- from pylab import * #pcolor(n, shading='flat', cmap=cm.gray_r) contourf(n, cmap=cm.gray_r) title('Intensity Pattern', size=28) xlabel('Distance (0.01 cm)', size=18) ylabel('Leaf B', size=18) axvline(x=ax/2, color='k', linestyle='--') colorbar() savefig('eIntensity') -------------------------------------------------------------- Thank you, Bryan -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo -- "The game of science can accurately be described as a never-ending insult to human intelligence." - João Magueijo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users