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