ry something like;
>
>for i in xrange(5):
>theta = i*1.3+1.5
>xx = center[0]+(radius-4)*math.cos(theta)
>yy = center[1]+(radius-4)*math.sin(theta)
>pyplot.annotate(str(i+1), (xx, yy), color='g', va="center",
> ha="cent
x1, x2 = pyplot.xlim()
y1, y2 = pyplot.ylim()
bounds = (min(x1,y1), max(x2,y2))
pyplot.xlim(bounds)
pyplot.ylim(bounds)
for i in xrange(5):
theta = i*1.3+1.5
pyplot.annotate(str(i+1), (theta, radius-4), textcoords='polar', color='g')
pyplot.sho
Thank you for your answer.
I read the text and annotate manual pages.
I don't understand how the "polar" xycoords/textcoords works.
I guess I should use this but its not clear to me.
Le 26 nov. 10 à 14:13, Alan G Isaac a écrit :
> On 11/26/2010 8:12 AM, Benoist Laurent w
Hi,
I'm a new matplotlib user and I'm already impressed by matplotlib's
features!
But I can't find how to do something that looks quite easy.
I have several points making something that looks like a circle.
I would like to anotate these point.
How can I manage the annotation of points forming a