view centerColorbar.m @ 676:9926efb39330 feature/poroelastic

Clean up dilation BC code.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 18 Jan 2018 14:36:59 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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