This is the code that takes a Plots::Plot and creates the GD code for generation.
Plots::Plot
See plots.pl for more details.