view centerColorbar.m @ 662:b189bc409cdb feature/poroelastic

Add helper function for kronecker delta.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 14 Dec 2017 13:53:38 -0800
parents 14f2be4fe9c1
children
line wrap: on
line source

function centerColorbar(ah)
    old = ah.CLim;

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