view centerColorbar.m @ 750:43e64f5b388e feature/grids

Add missing semicolon in multiblock.Laplace
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 04 Jun 2018 17:48:19 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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