From: Dan White Date: Sat, 21 Feb 2015 19:50:03 +0000 (-0600) Subject: shring TCAS figure X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=8de86c5ad30e81ae5d38f99f84654c0aa8166197;p=430.git shring TCAS figure --- diff --git a/python-lib/test-data/cal-histograms.pdf b/python-lib/test-data/cal-histograms.pdf index f15bc67..5312370 100644 Binary files a/python-lib/test-data/cal-histograms.pdf and b/python-lib/test-data/cal-histograms.pdf differ diff --git a/python-lib/test-data/cal-trajectories.py b/python-lib/test-data/cal-trajectories.py index 394c7d9..e8cc6fe 100644 --- a/python-lib/test-data/cal-trajectories.py +++ b/python-lib/test-data/cal-trajectories.py @@ -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')