view centerColorbar.m @ 1007:9c8ed00732fd feature/getBoundaryOp

Revert to old code in multiblock.DiffOp.getBoundaryOperator.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 16 Jan 2019 11:31:04 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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