Resetting par on exit from plot.gbp

After plotting, the graphics device is left with a load of settings still in place. This pull requests resets the graphics device to the state it was in before the call to plot.gbp

Harry