view centerColorbar.m @ 670:52a9dedb9171 feature/poroelastic

Add 6th order to D2variable.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 22 Dec 2017 16:38:08 +0100
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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