reproduce/plot_iterate_distance.py [19:44]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
mpl.use('agg')
import matplotlib.pyplot as plt
plt.ioff() #http://matplotlib.org/faq/usage_faq.html (interactive mode)
import numpy as np
import itertools
from random import shuffle
from matplotlib.ticker import FuncFormatter
from label_lines import *

run_dir = "runs"
plot_dir = "plots"

if not os.path.exists(plot_dir):
    os.makedirs(plot_dir)

#mpl.rcParams['mathtext.fontset'] = 'cm'
mpl.rcParams['font.family'] = 'serif'
mpl.rcParams['font.size'] = '6'
linewidth = '0.3'
mpl.rcParams['lines.linewidth'] = linewidth
mpl.rcParams['axes.linewidth'] = linewidth
mpl.rcParams['xtick.major.width'] = linewidth
mpl.rcParams['ytick.major.width'] = linewidth
label_fontsize = 6

linestyles = itertools.cycle(('-', '--', '-.', ':'))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



reproduce/plot_variance_ratio.py [20:45]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
mpl.use('agg')
import matplotlib.pyplot as plt
import matplotlib.ticker as plticker
plt.ioff() #http://matplotlib.org/faq/usage_faq.html (interactive mode)
import numpy as np
import itertools
from random import shuffle
from label_lines import *

run_dir = "runs"
plot_dir = "plots"

if not os.path.exists(plot_dir):
    os.makedirs(plot_dir)

#mpl.rcParams['mathtext.fontset'] = 'cm'
mpl.rcParams['font.family'] = 'serif'
mpl.rcParams['font.size'] = '6'
linewidth = '0.3'
mpl.rcParams['lines.linewidth'] = linewidth
mpl.rcParams['axes.linewidth'] = linewidth
mpl.rcParams['xtick.major.width'] = linewidth
mpl.rcParams['ytick.major.width'] = linewidth
label_fontsize = 6

linestyles = itertools.cycle(('-', '--', '-.', ':'))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



