adding lables to markers in a coloured circle scatter

sorry, example contained syntax error...

back to my scattered circles... can you show me how to center text (labels) inside the big circles generated by this program (follows)? help much appreciated.

#!/usr/bin/env python
from pylab import *
N=5
def onecolor(c):
  x,y=rand(2,N)
  return scatter(x,y,c=c,s=array([600]+[30]*(N-1)))
[r,b]=[onecolor(c) for c in 'red blue'.split()]
# find first of each sequence of patches and
# write 'red' in the red one (and 'blue' for blue)
grid(True)
show()

···

On 21/09/05 15:11:16, Jack Andrews wrote: