view centerColorbar.m @ 537:a70d5387d2ca feature/grids

Add note about a possible getBoundaryOperator method
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 08 Aug 2017 08:25:16 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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