John Hunter-4 wrote:
>
> On Tue, Nov 24, 2009 at 5:38 PM, thumperj <mrthumperwab...@gmail.com>
> wrote:
>>
>> I'm certain this is in an example somewhere but I can't seem to find it.
>> If
>> someone can just point me to the example I'll take it from there. Thank
>> you!
>>
>> I have a line chart. I just want to add text or callout box that shows
>> the
>> last value in the line.
>
> Use "text" or "annotate", eg
>
> http://matplotlib.sourceforge.net/examples/pylab_examples/annotation_demo.html
> http://matplotlib.sourceforge.net/examples/pylab_examples/annotation_demo2.html
>
> Let us know if you need any more help
>
> JDH
>
>
John, thank you. This was exactly what I needed. I now have annotations
all over the place.
One last question. My graph is updating constantly and I need to move
annotation around to highlite certain points as they appear. I can add new
annotations easily enough and they stick to the place where I put them. As
more data is added to the graph, the old annotations become irrelevant and I
need to remove them. How do I delete the ones I don't need anymore from the
graph? I could also just just modify the properties of the existing ones,
both the text and location, if I knew how to get at them, so to speak.
Can you point me the right way?
--
View this message in context:
http://old.nabble.com/Line-chart---want-to-show-value-of-last-data-point-tp26505250p26532286.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users