view centerColorbar.m @ 530:0cd7b8128e04 feature/boundaryGroup

Implement getBoundary in multiblock.Grid
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 03 Aug 2017 15:01:12 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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