view centerColorbar.m @ 617:4ced7d47bd1f feature/grids

Beam: Add ability to set one BC at a time
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 20 Oct 2017 15:56:10 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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