Continued refactoring, split up plotting statements.

This commit is contained in:
Luke 2018-07-21 16:28:18 -07:00
parent 539c2f7481
commit e3637a7fc6
4 changed files with 218 additions and 69 deletions

View file

@ -7,14 +7,33 @@
################################################################################
from matplotlib import rcParams, pyplot as pp
from cycler import cycler
rcParams['grid.alpha'] = 0.7
rcParams['grid.linestyle'] = ':'
rcParams['font.family'] = ['serif']
rcParams['font.size'] = 9.0
rcParams['font.size'] = 8.0
rcParams['mathtext.fontset'] = 'dejavuserif'
rcParams['mathtext.it'] = 'serif:italic'
rcParams['mathtext.bf'] = 'serif:bold'
rcParams['mathtext.sf'] = 'serif'
rcParams['mathtext.tt'] = 'monospace'
# axes.prop_cycle
COLOR_CYCLE_LIST = [
[0, 0.4470, 0.7410],
[0.8500, 0.3250, 0.0980],
[0.4940, 0.1840, 0.5560],
[0.4660, 0.6740, 0.1880],
[0.3010, 0.7450, 0.9330],
[0.6350, 0.0780, 0.1840],
[0.9290, 0.6940, 0.1250],
[1, 0, 1]]#,
# [0, 1, 1],
# [1, 0, 0],
# [0, 1, 0]]
rcParams['axes.prop_cycle'] = (cycler('linestyle',['-','--'])*cycler(color=COLOR_CYCLE_LIST))
for tri in COLOR_CYCLE_LIST:
color = '0x' + ''.join([ "%02x" % int(255*x) for x in tri])