![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Maximizes figure on screen
Has a workaround to prevent figure from occupying two monitors, which consists of dividing the width by two if the width-to-height ratio is greater than 2.
Definition in file maximize_window.m.
Go to the source code of this file.
Functions | |
function | maximize_window (in h, in aspectratio, in normalizedsize) |
function maximize_window | ( | in | h, |
in | aspectratio, | ||
in | normalizedsize | ||
) |
h | =gcf() Handle to figure. |
aspectratio | =1.618. If used, first making the image as big as possible, then reduce one of the dimensions to obbey width/height = aspectratio |
normalizedsize | =1. Multiplying factor for the calculated width and height |