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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to