[SciPy-user] xplt.legend

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Dec 15 09:14:44 CST 2004


Hi all,

Is it somehow possible to position the legend in a more convenient 
arrangement (see legend.eps for details).

xplt.plot(betar,lp[:,0],betar,lp[:,1],betar,lp[:,2],betar,lp[:,3],betar,lp[:,4],betar,lp[:,5],betar,lp[:,6],betar,lp[:,7],betar,lp[:,8],betar,lp[:,9])
xplt.xlabel('!b_0')
xplt.ylabel('!m_1')
xplt.legend(['!a=8','!a=2','!a=0.5','!a=0.125','!a=0','!a=-0.05','!a=-0.1','!a=-0.2','!a=-0.4','!a=-2'])
xplt.limits(0.,30.,0.,4.)
xplt.eps('legend')

Any comment or suggestion ?

Nils
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: legend.eps
Type: application/postscript
Size: 34862 bytes
Desc: not available
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20041215/dde7d483/legend-0001.eps


More information about the SciPy-user mailing list