add fig.width and fig.height to output format functions