[cig-commits] r20041 - short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott

brad at geodynamics.org brad at geodynamics.org
Fri May 4 11:38:09 PDT 2012


Author: brad
Date: 2012-05-04 11:38:09 -0700 (Fri, 04 May 2012)
New Revision: 20041

Modified:
   short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_profiles.py
Log:
Added panel labels.

Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_profiles.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_profiles.py	2012-05-04 11:55:57 UTC (rev 20040)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_profiles.py	2012-05-04 18:38:09 UTC (rev 20041)
@@ -10,9 +10,8 @@
 # PREREQUISITES: matplotlib, numpy, tables
 
 style = "lightbg"
-fileSuffix = "pdf"
-plotSize = "paper"
 fontsize = 8
+showAB = True
 
 from pyre.units.time import year
 from pyre.units.length import km,m
@@ -192,6 +191,12 @@
   else:
     ax.set_yticklabels([])
 
+  if showAB:
+    if irow == 0:
+      labelAB = "(a)"
+    elif irow == 1:
+      labelAB = "(b)"
+    ax.text(0.11, 0.45, labelAB, fontweight='bold')
 
   if irow == 0 and icol == ncols-1:
     labels = ["Analytic"]



More information about the CIG-COMMITS mailing list