Index: /issm/trunk/src/m/model/plot/plotdoc.m
===================================================================
--- /issm/trunk/src/m/model/plot/plotdoc.m	(revision 10283)
+++ /issm/trunk/src/m/model/plot/plotdoc.m	(revision 10284)
@@ -121,4 +121,5 @@
 disp('       ''textrotation'':  same as standard ''Rotation'' matlab option applied to text, use a cell of strings if more than one');
 disp('       ''mask'': list of flags of size numberofnodes or numberofelements. Only ''true'' values are plotted ');
+disp('       ''nan'': value assigned to NaNs (convenient when plotting BC)');
 disp('       ''partitionedges'': ''off'' by default. overlay plot of partition edges');
 disp('       ''log'': value of log');
Index: /issm/trunk/src/m/model/plot/processdata.m
===================================================================
--- /issm/trunk/src/m/model/plot/processdata.m	(revision 10283)
+++ /issm/trunk/src/m/model/plot/processdata.m	(revision 10284)
@@ -42,4 +42,8 @@
 datasize=size(data);
 
+%Process NaN if any (do not now before mask is applied)
+if exist(options,'nan')
+	data(find(isnan(data)))=getfieldvalue(options,'nan',0);
+end
 %non patch processing
 if datatype~=4 & datatype~=5,
