view centerColorbar.m @ 807:cee0b381d714 feature/poroelastic

Change order of function arguments
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 27 Jul 2018 09:50:29 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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