make plotting of legend optional and adjust margins accordingly
simple plotting function for mpcac versus 1/2kappa plots