[cig-commits] r6403 - mc/3D/CitcomS/trunk/visual

tan2 at geodynamics.org tan2 at geodynamics.org
Mon Mar 26 11:20:19 PDT 2007


Author: tan2
Date: 2007-03-26 11:20:19 -0700 (Mon, 26 Mar 2007)
New Revision: 6403

Modified:
   mc/3D/CitcomS/trunk/visual/plot_annulus.py
Log:
Set the length unit to cm to fit within the page

Modified: mc/3D/CitcomS/trunk/visual/plot_annulus.py
===================================================================
--- mc/3D/CitcomS/trunk/visual/plot_annulus.py	2007-03-26 18:11:02 UTC (rev 6402)
+++ mc/3D/CitcomS/trunk/visual/plot_annulus.py	2007-03-26 18:20:19 UTC (rev 6403)
@@ -68,7 +68,8 @@
         text = '''Choose method to specify great circle path:
           (1) a starting point and an azimuth
           (2) a starting point and another point on the path
-          (3) a starting point and a rotation pole position\n'''
+          (3) a starting point and a rotation pole position
+[1/2/3]: '''
         option = int(raw_input(text))
 
         if 1 <= option <= 3:
@@ -222,6 +223,8 @@
 command = '''
 makecpt -Cpolar -T0/1/.1 > %(cptfile)s
 
+gmtset MEASURE_UNIT cm
+
 grdimage %(grdfile)s -C%(cptfile)s -Bg360 -R%(bounds)s -J%(proj)s -X1.5 -Y%(yshift)f -P -K > %(psfile)s
 
 pscoast -R%(bounds)s -J%(proj)s -W -Dc -K -O >> %(psfile)s



More information about the cig-commits mailing list