| 
     
      
      
      From: John H. <jd...@gm...> - 2008-02-05 21:20:41
      
     
   | 
On Feb 5, 2008 2:17 PM, chombee <ch...@ne...> wrote: > Could anyone advise me or give me an example of how to prevent a legend > from obscuring a plot, or how I could do this better: > > http://www.23hq.com/seanh/photo/2862125/view-large > > I tried moving the legend out of the way using (x,y) coords but if I > move it out of the axes viewport it also moves out of the figure, and it > looks silly anyway. I also tried increasing the limits of the axes > beyond those of the data, but that looked silly too. And I tried to > change the font size of the legend but couldn't get it to work. You could use custom axes (rather than subplots) and a figlegend, eg http://matplotlib.sf.net/examples/figlegend_demo.py JDH  |