view centerColorbar.m @ 1139:6bc93c091682 feature/laplace_curvilinear_test

Implement minimum check in new scheme.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 21 Jun 2019 16:27:49 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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