view centerColorbar.m @ 1241:d1b201fe328e feature/dirac_discr

Turn row vectors into column vectors in diracDiscr comments
author Martin Almquist <malmquist@stanford.edu>
date Tue, 19 Nov 2019 17:01:38 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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