view centerColorbar.m @ 941:cd74e177d256 feature/utux2D

Remove empty line in Schrodinger2d
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 14:51:23 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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