view saveFigureSize.m @ 975:47b48a97c675 feature/getBoundaryOperator

Stupid merge makes this branch dangerous. Merging with other branches will result in unexpected changes. Never merge this branch with anything. Closing branch.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 03 Jan 2019 13:24:39 +0100
parents 5679dc7f6fdc
children
line wrap: on
line source

function saveFigurePosition()
    defaultPosition = get(0,'defaultfigureposition');
    f = gcf;
    defaultPosition(3:4) = f.Position(3:4);
    set(0,'defaultfigureposition',defaultPosition);
end