view centerColorbar.m @ 1108:5ec23b9bf360 feature/laplace_curvilinear_test

Merge with default
author Martin Almquist <malmquist@stanford.edu>
date Wed, 10 Apr 2019 11:00:27 -0700
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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