comparison centerColorbar.m @ 432:eca4ca84cf0a feature/quantumTriangles

Merge in feature/grids
author Ylva Rydin <ylva.rydin@telia.com>
date Wed, 08 Feb 2017 11:10:13 +0100
parents 14f2be4fe9c1
children
comparison
equal deleted inserted replaced
431:5f4540e13f9b 432:eca4ca84cf0a
1 function centerColorbar(ah)
2 old = ah.CLim;
3
4 l = max(abs(old));
5 ah.CLim = [-l l];
6 end