Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gnuplot-like program for timeline data

I am looking for a gnuplot-like program for charting data in a timeline.

gnuplot-like ==

  • Runs on Linux
  • command line functionality (a GUI isn't going to help me much)
  • scriptable syntax
  • outputs to jpg, png, svg, or gif

The output should be something like this:

    |         |         |         |         |
set5|######################       |         |
    |         |         |         |         |
set4|      ######     #######     | ########|
    |         |         |         |         | 
set3|############       |#############      |##
    |         |         |         |         |
set2|         #########################     |
    |         |         |         |         |
set1|   #########       |###      |##########
    |         |         |         |         |
----+----+----+----+----+----+----+----+----+--
  00:00     00:30     01:00     01:30     02:00

My end goal is to automate the time line image creation using some data from scheduled gawk-based scripts. I've explored some ways to do this with gnuplot. The Boxxyerrorbar plot looks promising, or possibly a stacked bar chart with some transparent sections, or even a heat map type plot could work.

But before I dive any further into forcing my requirements through a gnuplot shaped hole, I wanted to see if anyone else knows of anything useful else that will work.

like image 810
Hari Seldon Avatar asked Feb 02 '12 03:02

Hari Seldon


1 Answers

Along with R there is also matplotlib that has tons of charting possibilities.

Also I prefer matplotlib because it builds on python which is a very well developed and documented scripting language.

If you have used matlab before you will find matplotlib very easy to learn since it orients its API after the matlab way of plotting stuff.

like image 177
Woltan Avatar answered Sep 23 '22 16:09

Woltan