Hello All
I'm making the transition from Matlab to Python/Pylab/matplotlib, etc.
In Matlab contour plots I can specify the rotation angle of contour labels (e.g. rotation=0). I'm unable to figure out the equivalent in matplotlib's clabel. The inline documentation doesn't mention the option, but I'm confident there's a workaround.
Best,
Jim
Hansen, Dr. Jim wrote:
Hello All
I'm making the transition from Matlab to Python/Pylab/matplotlib, etc.
In Matlab contour plots I can specify the rotation angle of contour labels (e.g. rotation=0). I'm unable to figure out the equivalent in matplotlib's clabel. The inline documentation doesn't mention the option, but I'm confident there's a workaround.
with ipython -pylab:
CS = contour(rand(20,30))
tl = CS.clabel()
setp(tl, rotation=0)
Eric