hi all,
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.
jack.
#!/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]=[onecol(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()