Index: ../trunk-jpl/src/m/exp/expdisp.m
===================================================================
--- ../trunk-jpl/src/m/exp/expdisp.m	(revision 18996)
+++ ../trunk-jpl/src/m/exp/expdisp.m	(revision 18997)
@@ -12,6 +12,7 @@
 %      - 'linewidth'  : line width (1,2,...)
 %      - 'multiplier' : coordinate multiplier (10^3 if the plot is in km)
 %      - 'title'      : do we add contour names to each contour
+%      - 'patch'      : do we want the contour to be filled
 %
 %   Example:
 %      expdisp('Domain.exp','figure',1,'linestyle','--r','linewidth',2,'multiplier',10^3);
@@ -23,6 +24,7 @@
 unitmultiplier = getfieldvalue(options,'multiplier',1);
 linewidth      = getfieldvalue(options,'linewidth',1);
 linestyle      = getfieldvalue(options,'linestyle','-r');
+ispatch        = getfieldvalue(options,'patch',0);
 
 %read file
 domain=expread(domainoutline);
@@ -36,18 +38,21 @@
 for i=1:length(domain),		
 	if domain(i).nods==1
 		plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'o','MarkerEdgeColor','k','MarkerFaceColor','r','MarkerSize',10);
-	  if exist(options,'title')
+		if exist(options,'title')
 			text(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,domain(i).name,'BackgroundColor',[1. .0 .0]);
-	  end
+		end
 	else
-		if (isnumeric(linestyle))
-			plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'Color',linestyle,'linewidth',linewidth);
+		if ispatch,
+			patch(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,linestyle);
 		else
-			plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,linestyle,'linewidth',linewidth);
-	  end
-	  if exist(options,'title')
-		  text(domain(i).x(1)*unitmultiplier,domain(i).y(1)*unitmultiplier,domain(i).name,'BackgroundColor',[.7 .9 .7]);
-	  end
-  end
+			if (isnumeric(linestyle))
+				plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,'Color',linestyle,'linewidth',linewidth);
+			else
+				plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,linestyle,'linewidth',linewidth);
+			end
+		end
+		if exist(options,'title')
+			text(domain(i).x(1)*unitmultiplier,domain(i).y(1)*unitmultiplier,domain(i).name,'BackgroundColor',[.7 .9 .7]);
+		end
+	end
 end
-
