From: Darren D. <dd...@co...> - 2006-05-20 18:07:04
|
Try passing the "loc" kwarg, like loc=(1.05, 0) to the legend command. plot([1,2]) legend(['line1'], loc=(1.05,0)) Darren On Saturday 20 May 2006 13:48, Ryan Krauss wrote: > Is there a built-in way for pylab to put the legend off to the right > of the plot. I need to have a fairly long legend (12 entries) and I > need to figure out what to do with it. (The plot is not as ugly as it > sounds with 12 things on it.) > > Ryan > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-9894 fax: (607) 255-9001 |