This is an mfile I use every day, yet is not on the exchange. I hope the original author does not mind it being put here. Its been over 15 years, so I suspect that it is public domain...
This function is called with no args and merely changes the size of the figure on the screen to equal the size of the figure that would be printed, according to the papersize attribute. Use this function to give a more accurate picture of what will be printed.
Original author: Dan(K) Braithwaite, Dept. of Hydrology U.of.A 11/93
Jody Klymak (2020). wysiwyg.m (https://www.mathworks.com/matlabcentral/fileexchange/22449-wysiwyg-m), MATLAB Central File Exchange. Retrieved .