On 21/08/10 21:14, Jose Gómez-Dans wrote:
> Use plt.text (x, y, point_labels ) or something along those lines.
>
> Jose
>
With plt.text() the plot line is sometimes covered by the point labels.
Is there any option which recognise a collusion between the line and label?
from pylab import *
i
On Saturday 21 Aug 2010 08:00:33 xyz wrote:
> I would like to label all (x[i],y[i]) points in the plot with
> point_labels[i].
>
> Is it possible to label all points in a plot?
Use plt.text (x, y, point_labels ) or something along those lines.
Jose
--
Hello,
I have the following code:
---
from pylab import *
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
y = [20, 24, 8, 4, 12, 22, 31, 25,