view centerColorbar.m @ 715:ea5cbf579e18 feature/boundaryGroup

Close branch feature/boundaryGroup
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 08 Aug 2017 08:32:42 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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