slap an appropriate license on this mess of plotting code