comparison centerColorbar.m @ 820:501750fbbfdb

Merge with feature/grids
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Sep 2018 14:40:58 +0200
parents 14f2be4fe9c1
children
comparison
equal deleted inserted replaced
819:fdf0ef9150f4 820:501750fbbfdb
1 function centerColorbar(ah)
2 old = ah.CLim;
3
4 l = max(abs(old));
5 ah.CLim = [-l l];
6 end