From: Bryan F. <bry...@gm...> - 2007-11-21 00:25:26
|
I would like to have a secondary y-axis that has the same scale, but a different label. Also, I would like to draw a dashed line down the center of the plot. I have used, ax1 =3D pcolor(a, shading=3D'flat', cmap=3Dcm.gray_r) title('Intensity Pattern') xlabel('Distance') ylabel('Leaf B') ax2=3Dtwinx() ylabel('Leaf A') ax2.yaxis.tick_right() colorbar() and the scale is different for the second y-axis as well as prints on top of the colorbar. -Bryan "The game of science can accurately be described as a never-ending insult to human intelligence."=09- Jo=E3o Magueijo |