view centerColorbar.m @ 857:3c916a00033f feature/poroelastic

Bugfix in static getTimeStep method in RungeKuttaDiscreteData
author Martin Almquist <malmquist@stanford.edu>
date Tue, 02 Oct 2018 13:42:11 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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