How to show last value on the line

Hi,

I have produced number of charts in my research thesis. On any given chart, there are number of lines. I would like to display the last value on each line to show at which precise value it’s ending.

Thanks,

Omer

Hi,

I have produced number of charts in my research thesis. On any given chart, there are number of lines. I would like to display the last value on each line to show at which precise value it's ending.

Thanks,
Omer

···

From: Omer Khalid [mailto:Omer.Khalid@…1758…]
Sent: Wednesday, March 31, 2010 6:14 AM
To: Matplotlib Users
Subject: [Matplotlib-users] How to show last value on the line

~~~~~~~~~~~~~~~~~~~~

Omer,
Give something like this a shot:
http://matplotlib.sourceforge.net/examples/pylab_examples/annotation_demo.html

Remember that in python you can easily access the last element of an array (x) with x[-1].