view centerColorbar.m @ 1280:c7f5b480e455 feature/poroelastic

Add bcSetup for staggered, where displacement and traction data must be evaluated on different grids.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:32:19 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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