Plot 3 revisions

Tweaked the plot a bit as the legend wasn't quite right.  This time the
code is set up to write directly to the PNG rather than copying from the
screen device.  Results in a better plot, i.e., closer to the example.