view centerColorbar.m @ 1055:b828e589d540 feature/poroelastic

Copy-paste LaplCurviNewCorner from laplace branch.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 25 Jan 2019 14:04:23 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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