##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Lance Simms, Stanford University 2009
#plot_legend.py
#
#PURPOSE:
#  To make a plot with a non-default legend
from pylab import *
import matplotlib.pylab as mplot

a=arange(100)

Fig=mplot.figure(0)
mplot.clf()
Ax = Fig.add_axes([0.100,0.100,0.85,0.85])
mplot.plot(a, 2*a)

#LEGEND
l=mplot.legend(loc=6, numpoints=1)
t=l.get_texts()
t[0].set_fontsize(10)
draw()

