How do I specify the output sizes of JPEG, PNG, and TIFF ...
2) Make the output file the same size as the figure on the screen. This is a little more involved than #1 but the results are consistent with what you see on the screen. The code to do this is included below.