view centerColorbar.m @ 881:67228a10dfad feature/poroelastic

Add method expandFunc to multiblock.Grid
author Martin Almquist <malmquist@stanford.edu>
date Fri, 26 Oct 2018 15:41:26 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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