Index: /issm/trunk-jpl/src/m/plot/plot_scatter.m
===================================================================
--- /issm/trunk-jpl/src/m/plot/plot_scatter.m	(revision 18916)
+++ /issm/trunk-jpl/src/m/plot/plot_scatter.m	(revision 18917)
@@ -37,5 +37,5 @@
 
 %OK, should we create a new colorbar for the occasion?
-if isempty(findobj(gcf,'tag','TMW_COLORBAR')),
+if isempty(findobj(gcf,'tag','TMW_COLORBAR')) && isempty(findobj(gcf,'Type','Colorbar')),
 	alreadyplot=false;
 else
@@ -46,6 +46,12 @@
 if (alreadyplot),
 	phch = get(findall(gcf,'type','image','tag','TMW_COLORBAR'),{'parent'});
-	h    = phch{1};
-	ylim=get(h,'YLim');
+	if ~isempty(phch),
+		h    = phch{1};
+		ylim=get(h,'YLim');
+	else
+		%R2014b +
+		h = findobj(gcf,'Type','Colorbar');
+		ylim = h.Limits;
+	end
 	palette=colormap;
 	numcolors=size(palette,1);
