view saveFigurePosition.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 e8c5092d3f1b
children
line wrap: on
line source

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