shring TCAS figure
authorDan White <dan@whiteaudio.com>
Sat, 21 Feb 2015 19:50:03 +0000 (13:50 -0600)
committerDan White <dan@whiteaudio.com>
Sat, 21 Feb 2015 19:50:03 +0000 (13:50 -0600)
python-lib/test-data/cal-histograms.pdf
python-lib/test-data/cal-trajectories.py

index f15bc67cd2a4dbe774a9cd6eee7eee1efe95e899..53123706e4acedf0779dde5c56fd4aea78c3ad58 100644 (file)
Binary files a/python-lib/test-data/cal-histograms.pdf and b/python-lib/test-data/cal-histograms.pdf differ
index 394c7d9937d03a8850583f5af71c60ce89140828..e8cc6fe53507f9d87b72e2b3ee2dd0ac6cf38bf2 100644 (file)
@@ -22,8 +22,8 @@ nrun = 0
 
 
 if 1:
-    infiles1 = sorted(glob('chip01/*.npz'))
-    infiles2 = sorted(glob('chip02/*.npz'))
+    infiles1 = sorted(glob('chip01/201*.npz'))
+    infiles2 = sorted(glob('chip02/201*.npz'))
 
     def loadrun(infiles):
         cal_values = []
@@ -149,7 +149,7 @@ names = ['\#1-00A',
          ]
 
 
-if 1:
+if 0:
     #
     # trajectories
     #
@@ -211,9 +211,9 @@ if 1:
     #
     # histograms
     #
-    fig = figure(figsize=(3.5, 2.5))
+    fig = figure(figsize=(3.5, 2.1))
 
-    subplots_adjust(top=0.93,
+    subplots_adjust(top=0.92,
                     bottom=0.25,
                     left=0.13,
                     right=0.98,
@@ -239,7 +239,8 @@ if 1:
         xlim((data.min()-2, data.max()+2))
         ax.set_xticklabels(xlabels,
                            size='small',
-                           rotation=90)
+                           rotation=90,
+                           y=0.05)
 
         title(r'%s' % names[i], fontname='courier', fontsize='medium')
         ax.set_yticklabels([''] * len(ax.get_yticks()))
@@ -274,7 +275,8 @@ if 1:
         ax.set_xticks(xlabels)
         ax.set_xticklabels(xlabels,
                            size='small',
-                           rotation=90)
+                           rotation=90,
+                           y=0.05)
         xlim((-100, 100))
 
         ax.set_yticklabels([''] * len(ax.get_yticks()))
@@ -286,7 +288,7 @@ if 1:
     fig.text(0.01, 0.59, 'Relative bin counts', rotation=90,
              va='center')
 
-    fig.text(0.56, 0.01, 'Output offsets (mV)',
+    fig.text(0.56, 0.0, 'Output offsets (mV)',
              ha='center',
              va='bottom')