view centerColorbar.m @ 509:566304a5733e feature/quantumTriangles

changed the magnus midpoint rule
author Ylva Rydin <ylva.rydin@telia.com>
date Fri, 02 Jun 2017 17:43:59 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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