I need a simple(?) perl module to take data and draw a simple (?) graph like line chart in excel.
I think I can get the data into the module however it wants it.
Simplest would be :
(Well simpler would be DATA without color and symbol, without HLINE )
given:

# I just made this input format up
DATA BLACK @ 01:00,1
DATA BLACK @ 01:30,2
DATA BLACK @ 02:00,3
DATA BLACK @ 02:30,6
DATA RED   * 03:00,9

HLINE RED 00:00,8    04:00,8    "upper threshold = 8.00"
HLINE RED 00:00 1.25 04:00,1.25 "lower threshold = 1.25"
SIZE 75 x 16 # columns wide by lines high
QUARDANT I

X-ORG 00:00
Y-ORG 1.00
TITLE  Patient 01249;  23 Jul 09
END

module would produce something like:


  12. |    |         |         |
| | | | 10. | + - + - + -
      |    |         |         *
   8. |------------------------------ upper threshold = 8.00
      |    |         |         |
   6. |    |         |    @    |
      |    +    -    +    -    +    -
   4. |    |         |         |
      |    |         @         |
   2. |    |    @    |         |
      |-...@------------------------- lower threshold = 1.25
   0. +----+----+----+----+----+----
01:00 02:00 03:00 ... 12:00 13:00 ... 23:00 ... 00:00 01;00...

          Patient 01249;  23 Jul 09

Of course something slicker would be nice too.



Since there four bazillion books on perl,
not to mention the number of existing modules and web sites

I though there might be someone out that could point me in the right direction.

Thanks for any pointers that you can give me
.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to