comparison cwpair2_util.py @ 1:4d86371aafa8 draft

Uploaded
author greg
date Tue, 17 Nov 2015 16:53:50 -0500
parents 507521bf124a
children 279cdc63bcff
comparison
equal deleted inserted replaced
0:507521bf124a 1:4d86371aafa8
1 import bisect 1 import bisect
2 import csv 2 import csv
3 import os 3 import os
4 import sys 4 import sys
5 import traceback 5 import traceback
6 6 import matplotlib
7 matplotlib.use('Agg')
7 from matplotlib import pyplot 8 from matplotlib import pyplot
8 9
9 DETAILS = 'D' 10 DETAILS = 'D'
10 FINAL_PLOTS = 'F' 11 FINAL_PLOTS = 'F'
11 ORPHANS = 'O' 12 ORPHANS = 'O'
23 ADJUST = [0.140, 0.9, 0.9, 0.1] 24 ADJUST = [0.140, 0.9, 0.9, 0.1]
24 pyplot.rc('xtick.major', size=10.00) 25 pyplot.rc('xtick.major', size=10.00)
25 pyplot.rc('ytick.major', size=10.00) 26 pyplot.rc('ytick.major', size=10.00)
26 pyplot.rc('lines', linewidth=4.00) 27 pyplot.rc('lines', linewidth=4.00)
27 pyplot.rc('axes', linewidth=3.00) 28 pyplot.rc('axes', linewidth=3.00)
28 pyplot.rc('font', family='Arial', size=32.0) 29 pyplot.rc('font', family='Bitstream Vera Sans', size=32.0)
29 30
30 31
31 class FrequencyDistribution(object): 32 class FrequencyDistribution(object):
32 33
33 def __init__(self, start, end, binsize=10, d=None): 34 def __init__(self, start, end, binsize=10, d=None):