Hi,
I'd do it the quick way:

str = [...] # list of strings for the labels.
x[:] # abcisse vector
y[i][:] # list of ordinate vector (y[i][:] contains the data for the ith line)

for i in range(10):
    text(x[-1], y[i][-1], str[i], horizontalalignement='left')

David





2006/6/7, Webb Sprague <[EMAIL PROTECTED] >:
Is there a way to programmatically write line labels, as in the
attached image?  If it doesn't go through the list, basically I want a
label at the end of each of 10 or so lines in a plot.

Tx




_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users




_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to