Index: /issm/branches/trunk-larour-NatClimateChange2016/src/m/plot/colormaps/bluewhitered_smooth.m
===================================================================
--- /issm/branches/trunk-larour-NatClimateChange2016/src/m/plot/colormaps/bluewhitered_smooth.m	(revision 21734)
+++ /issm/branches/trunk-larour-NatClimateChange2016/src/m/plot/colormaps/bluewhitered_smooth.m	(revision 21735)
@@ -1,3 +1,3 @@
-function newmap = bluewhitered_smooth(m)
+function newmap = bluewhitered_smooth(m,CAXIS)
 %BLUEWHITERED   Blue, white, and red color map.
 %   BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white
@@ -46,5 +46,9 @@
 
 % Find middle
-lims = get(gca, 'CLim');
+if nargin < 2
+	lims = get(gca, 'CLim');
+else
+	lims = CAXIS;
+end
 
 % Find ratio of negative to positive
