Index: /issm/trunk-jpl/src/m/plot/applyoptions.py
===================================================================
--- /issm/trunk-jpl/src/m/plot/applyoptions.py	(revision 13770)
+++ /issm/trunk-jpl/src/m/plot/applyoptions.py	(revision 13771)
@@ -1,3 +1,7 @@
-import pylab as p
+
+try:
+	import pylab as p
+except ImportError:
+	print "could not import pylab, matplotlib has not been installed, no plotting capabilities enabled"
 
 def applyoptions(md,data,options):
Index: /issm/trunk-jpl/src/m/plot/plot_manager.py
===================================================================
--- /issm/trunk-jpl/src/m/plot/plot_manager.py	(revision 13770)
+++ /issm/trunk-jpl/src/m/plot/plot_manager.py	(revision 13771)
@@ -1,4 +1,9 @@
+
+try:
+	import pylab as p
+except ImportError:
+	print "could not import pylab, matplotlib has not been installed, no plotting capabilities enabled"
+
 from pairoptions import *
-import pylab as p
 from checkplotoptions import checkplotoptions
 from plot_mesh import plot_mesh
Index: /issm/trunk-jpl/src/m/plot/plot_mesh.py
===================================================================
--- /issm/trunk-jpl/src/m/plot/plot_mesh.py	(revision 13770)
+++ /issm/trunk-jpl/src/m/plot/plot_mesh.py	(revision 13771)
@@ -1,3 +1,8 @@
-import pylab as p
+
+try:
+	import pylab as p
+except ImportError:
+	print "could not import pylab, matplotlib has not been installed, no plotting capabilities enabled"
+
 from processmesh import processmesh
 from applyoptions import applyoptions
Index: /issm/trunk-jpl/src/m/plot/plot_unit.py
===================================================================
--- /issm/trunk-jpl/src/m/plot/plot_unit.py	(revision 13770)
+++ /issm/trunk-jpl/src/m/plot/plot_unit.py	(revision 13771)
@@ -1,3 +1,7 @@
-import pylab as p
+
+try:
+	import pylab as p
+except ImportError:
+	print "could not import pylab, matplotlib has not been installed, no plotting capabilities enabled"
 
 def plot_unit(x,y,z,elements,data,is2d,isplanet,datatype,options):
Index: /issm/trunk-jpl/src/m/plot/plotmodel.py
===================================================================
--- /issm/trunk-jpl/src/m/plot/plotmodel.py	(revision 13770)
+++ /issm/trunk-jpl/src/m/plot/plotmodel.py	(revision 13771)
@@ -1,3 +1,8 @@
-import pylab as p
+
+try:
+	import pylab as p
+except ImportError:
+	print "could not import pylab, matplotlib has not been installed, no plotting capabilities enabled"
+
 #from pairoptions import *
 from plotoptions import plotoptions
