Monthly Archives: April 2010

Patch for RTG to add graph titles and friendly legends

A lot of people asked me about my patches for RTG when I ran kewlio as they had titles and meaningful legends…

You can download my diff for rtg 0.7.4 from here

After you extra rtg, go into the rtg-0.7.4 folder and type:

patch -p0 < /path/to/dan-rtg-add-titles.diff

Build and install RTG as normal.

You can now add the following additional items to the rtgplot urls:

title=<url encoded graph title>
t1_name=<url encoded legend for t1>
t2_name=<url encoded legend for t2>
etc…

Yes… I know kewlio’s graphs had a cool background image too – but that’s not in this diff, sorry…  maybe later 🙂

Enjoy!

Dan.