Nice!
Still some stuff to enhance but got it!
Thanks a lot.
Ben
Le 19 déc. 10 à 05:30, Jae-Joon Lee a écrit :
I don't think polar is a good fit for your case. Instead, you can
simply use data coordinate with explicit coordinate transformation.
Try something like;
for i in xrange(5):
I don't think polar is a good fit for your case. Instead, you can
simply use data coordinate with explicit coordinate transformation.
Try something like;
for i in xrange(5):
theta = i*1.3+1.5
xx = center[0]+(radius-4)*math.cos(theta)
yy =
Sorry for the delay.This is the script is used (modified so that it include the data).
from matplotlib import pyplot
from matplotlib import patches
import math
def getCenter(points):
Return the center of a list of 2D points.
meanX = sum(p[0] for p in points) / len(points)
meanY =
On Wed, Dec 15, 2010 at 9:46 AM, Benoist Laurent beno...@ibpc.fr wrote:
Hi all,
I'm still a bit stuck with this probleme of polar annotation.
Let me present the problem in a different way.
I've got the center of my circle, its radius and even some points on the
circle.
Actually, I'd like
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
On 11/26/2010 8:12 AM, Benoist Laurent wrote:
How can I manage the annotation of points forming a circle if I have
their coordinates?
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.annotate
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.text
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 wrote:
How can I manage
I don't see such problem in my installations.
I may be wrong but It seems to me that it is a font issue (I believe
you're not using usetex mode).
Can you try to use other fonts?
For example, my current installation picks up the following font (Vera Serif?).
In [10]: