view centerColorbar.m @ 838:bd43256f0c41 feature/poroelastic

Added tag Heimisson2018 for changeset 08f3ffe63f48
author Martin Almquist <malmquist@stanford.edu>
date Fri, 14 Sep 2018 10:41:00 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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