view centerColorbar.m @ 1187:5aa3049a4212 feature/rv

Allow for time dependent data when construcing the ODE RHS
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Mon, 08 Jul 2019 14:48:56 +0200
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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