<filename>scripts/plots/nora2012/make_nora_verification_plots.py
import os
import sys
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
sys.path.append(os.path.expanduser('~/projects/ensemble_hic/scripts/plots/'))

fig_shape = (5,6)

sys.path.append(os.path.expanduser('~/projects/ensemble_hic/scripts/plots/nora2012/'))
fish_axes = [plt.subplot2grid(fig_shape, (i / 3, (i % 3) * 2), colspan=2)
             for i in range(7)]
from distance_distributions import plot_all_hists
plot_all_hists(fish_axes, "plot_data/distance_distributions.pickle")

from differentiation import plot_rg_hist
before_ax = plt.subplot2grid(fig_shape, (3, 0), rowspan=2, colspan=3)
plot_rg_hist(before_ax, "plot_data/before.pickle")
after_ax = plt.subplot2grid(fig_shape, (3, 3), rowspan=2, colspan=3,
                            sharex=before_ax)
plot_rg_hist(after_ax, "plot_data/after.pickle")

fig = plt.gcf()
fig.set_size_inches((5, 5))
fig.tight_layout()

plt.show()

<filename>scripts/plots/nora2012/make_nora_verification_plots.py
import os
import sys
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
sys.path.append(os.path.expanduser('~/projects/ensemble_hic/scripts/plots/'))

fig_shape = (5,6)

sys.path.append(os.path.expanduser('~/projects/ensemble_hic/scripts/plots/nora2012/'))
fish_axes = [plt.subplot2grid(fig_shape, (i / 3, (i % 3) * 2), colspan=2)
             for i in range(7)]
from distance_distributions import plot_all_hists
plot_all_hists(fish_axes, "plot_data/distance_distributions.pickle")

from differentiation import plot_rg_hist
before_ax = plt.subplot2grid(fig_shape, (3, 0), rowspan=2, colspan=3)
plot_rg_hist(before_ax, "plot_data/before.pickle")
after_ax = plt.subplot2grid(fig_shape, (3, 3), rowspan=2, colspan=3,
                            sharex=before_ax)
plot_rg_hist(after_ax, "plot_data/after.pickle")

fig = plt.gcf()
fig.set_size_inches((5, 5))
fig.tight_layout()

plt.show()
