view centerColorbar.m @ 727:6d5953fc090e feature/poroelastic

First implementation of elastic interface
author Martin Almquist <malmquist@stanford.edu>
date Fri, 20 Apr 2018 11:32:04 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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