GIFgraph.pm - example 1-2
The code.
Remark:
Still need to implement a legend.