472,122 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

graphing lifelines

(crossposted to sci.math)

I'm looking for a tool which will take a dataset of tuples indicating
the year of birth and death of a person:

(1872, 1950, "Sri Aurobindo")
(1821, 1910, "Mary Baker Eddy")
(1831, 1891, "HP. Blavatksy")

And graph them out, in bars, annotating them with the person's name.

A simple spreadsheet would've worked, but they seem to start from
zero. Thus, I would only be able to indicate the span of life (by
subtracting death year from birth year).
Jul 15 '08 #1
5 1534
There are several different modules for graphing in Python which you
can find easily by searching, but to my knowledge none of them will
simply take in a set of tuples and turn them into what you want,
although I am sure that it is certainly possible to program a app that
could do that for you...

If you can't/don't want to program such an app and you don't have many
data points, you could probably just cook one up using Photoshop/GIMP/
MSPaint, or whatnot (although clearly I could understand not wanting
to do that for 100's of points)...
sounds like an interesting project an auto lifeline maker that takes
in data points...hmm
Jul 15 '08 #2
E. J. Gold is the Hi-Tech Shaman wrote:
(crossposted to sci.math)

I'm looking for a tool which will take a dataset of tuples indicating
the year of birth and death of a person:

(1872, 1950, "Sri Aurobindo")
(1821, 1910, "Mary Baker Eddy")
(1831, 1891, "HP. Blavatksy")

And graph them out, in bars, annotating them with the person's name.

A simple spreadsheet would've worked, but they seem to start from
zero. Thus, I would only be able to indicate the span of life (by
subtracting death year from birth year).
Certainly a "Hi-Tech Shaman" can whip something up to do this, right?

-Larry

P. S. you will need look for something like a high-low graph or do something
custom. I've used ReportLab's Graphing module quite effectively. All depends
on what format you want the output to be in.
Jul 15 '08 #3


Google this: "drawing graphs with dot" dotguide.pdf
Look at page ~40ff.

Perhaps a simple script to generate graphviz input. Then let those
excellent tools do the heavy lifting.

-----Original Message-----
From: py***************************************@python.o rg
[mailto:py***************************************@p ython.org] On Behalf
Of E. J. Gold is the Hi-Tech Shaman
Sent: Tuesday, July 15, 2008 14:57
To: py*********@python.org
Subject: graphing lifelines

(crossposted to sci.math)

I'm looking for a tool which will take a dataset of tuples indicating
the year of birth and death of a person:

(1872, 1950, "Sri Aurobindo")
(1821, 1910, "Mary Baker Eddy")
(1831, 1891, "HP. Blavatksy")

And graph them out, in bars, annotating them with the person's name.

A simple spreadsheet would've worked, but they seem to start from
zero. Thus, I would only be able to indicate the span of life (by
subtracting death year from birth year).
--
http://mail.python.org/mailman/listinfo/python-list
Jul 15 '08 #4
On Jul 15, 3:38*pm, Larry Bates <larry.ba...@websafe.com`wrote:
>
Certainly a "Hi-Tech Shaman" can whip something up to do this, right?
Yes, well E.J. Gold is the Hi-Tech Shaman. I'm Terrence Brannon,
stating that fact :)

So, maybe EJ could whip up such a thing :)

I like the sci.math answer I got the best and will go with that
approach -
http://groups.google.com/group/sci.m...254718d4cbfeb#
Jul 16 '08 #5
E. J. Gold is the Hi-Tech Shaman wrote:
On Jul 15, 3:38 pm, Larry Bates <larry.ba...@websafe.com`wrote:
>Certainly a "Hi-Tech Shaman" can whip something up to do this, right?

Yes, well E.J. Gold is the Hi-Tech Shaman. I'm Terrence Brannon,
stating that fact :)

So, maybe EJ could whip up such a thing :)

I like the sci.math answer I got the best and will go with that
approach -
http://groups.google.com/group/sci.m...254718d4cbfeb#
Hey you're the one using his email address ;-).

-Larry
Jul 16 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Michael T. Peterson | last post: by
4 posts views Thread by FGO | last post: by
22 posts views Thread by Kenneth Miller | last post: by
6 posts views Thread by Michael Hill | last post: by
1 post views Thread by Mudcat | last post: by
1 post views Thread by robby.walker | last post: by
reply views Thread by Dexter | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.