Shameless copy-paste of the readme
gantt.py is simple Python script that translates simulation output into GNUplot commands that draw a Gantt chart. Requires Python 2.4 or newer.
In the simulation output, each tab-separated line represents the execution of a task on a resource:
resource start-time end-time task
gantt.py translates these lines into a set of GNUplot commands, when called like this:
python gantt.py -o foo.gpl foo.txt
foo.gpl can be processed by GNUplot as follows:
set terminal postscript eps color solid
set output “foo.eps”
GNUplot version 4.2 or newer is required.
gantt.py uses a default color set, but the
--color option also
allows to specify your own colors. Furthermore, palette.dat files
can be used in GNUplot to change the default palette.
See the examples how to generate appropriate input, and create figures with multiple plots.
Your mileage may vary.