emilienkofman / ganttplot

python gnuplot visualization of a gantt diagram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yet another gantt ploter that I extracted from a set of visualization tools named the Shed (http://devel.se.wtb.tue.nl/trac/shed/browser/trunk/visualization/ganttchart). It aims at transforming a gantt Domain Specific Language into gnuplot code.
It takes a file of time intervals described in json, and produces the corresponding gnuplot code. You can associate a color to each time interval.

EXAMPLES:
    ./gantt.py solution.json | gnuplot -p

INSTALL:
chmod a+x gantt.py && sudo cp gantt.py /usr/local/bin/

CHANGELOG
November 2015:
I added the ability to parse json files.

April 2015:
Took it from http://wiki.mn.wtb.tue.nl/wonham/gantt.py.
I simplified a little bit the interface (getopt to argparse) and added an option in order to set the maximum time of the plot, and to draw arrows in between two time intervals which are not on the same resource.

About

python gnuplot visualization of a gantt diagram


Languages

Language:Python 100.0%