view centerColorbar.m @ 424:37649ef3fc6e feature/beams

Close branch feature/beams. It was poisoned by changes that belonged on feature/grids
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 07 Feb 2017 16:08:26 +0100
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

    l = max(abs(old));
    ah.CLim = [-l l];
end