Index: /issm/trunk/src/m/classes/public/plot/checkplotoptions.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/checkplotoptions.m	(revision 2510)
+++ /issm/trunk/src/m/classes/public/plot/checkplotoptions.m	(revision 2511)
@@ -161,4 +161,5 @@
 expdispvaluesarray=cell(0,0);
 expstylevaluesarray=cell(0,0);
+expstylevalues=cell(0,0);
 if exist(options,'expstyle'),
 	expstylevalues=getfieldvalue(options,'expstyle');
Index: /issm/trunk/src/m/classes/public/plot/plot_highlightgrids.m
===================================================================
--- /issm/trunk/src/m/classes/public/plot/plot_highlightgrids.m	(revision 2510)
+++ /issm/trunk/src/m/classes/public/plot/plot_highlightgrids.m	(revision 2511)
@@ -22,5 +22,4 @@
 		text(x(list(i)),y(list(i)), z(list(i)),num2str(list(i)),'backgroundcolor',[1 0 0]);
 	end
-	end
 else
 	%plot mesh 
@@ -35,5 +34,4 @@
 		text(x(list(i)),y(list(i)), z(list(i)),num2str(list(i)),'backgroundcolor',[1 0 0]);
 	end
-	end
 end
 
