Captioned appendix figures.
Polished some figures. Shortened existing figure captions.
This commit is contained in:
@@ -6,13 +6,13 @@ from plot_functions import xlabel, ylabel
|
||||
from IPython import embed
|
||||
|
||||
# Analysis settings:
|
||||
mode = ['thresh_lp', 'full', 'short', 'field'][3]
|
||||
mode = ['thresh_lp', 'full', 'short', 'field'][0]
|
||||
thresh_path = f'../data/inv/{mode}/thresholds.npz'
|
||||
save_path = f'../figures/fig_kernel_sd_perc_{mode}_appendix.pdf'
|
||||
|
||||
# Plot settings:
|
||||
fig_kwargs = dict(
|
||||
figsize=(32/2.54, 16/2.54),
|
||||
figsize=(32/2.54, 15/2.54),
|
||||
nrows=1,
|
||||
ncols=1,
|
||||
gridspec_kw=dict(
|
||||
@@ -41,8 +41,8 @@ grid_line_kwargs = dict(
|
||||
color='k',
|
||||
lw=0.5,
|
||||
)
|
||||
xlab = '$\\text{multiple of }\\sigma_{k_i}$'
|
||||
ylab = '$P\\,(c_i > \\Theta_i)$'
|
||||
xlab = '$\\Theta_i\\,[\\text{multiples of }\\sigma_{c_i}]$'
|
||||
ylab = '$\\mu_{f_i}\\,\\approx\\,P\\,(c_i > \\Theta_i)$'
|
||||
xlab_kwargs = dict(
|
||||
y=0,
|
||||
fontsize=20,
|
||||
@@ -55,6 +55,8 @@ ylab_kwargs = dict(
|
||||
ha='center',
|
||||
va='top',
|
||||
)
|
||||
xloc = 1
|
||||
yloc = 0.25
|
||||
|
||||
# Load threshold data:
|
||||
data = dict(np.load(thresh_path))
|
||||
@@ -69,6 +71,8 @@ fig, ax = plt.subplots(**fig_kwargs)
|
||||
ax.grid(**grid_line_kwargs)
|
||||
ax.set_xlim(factors[0], factors[-1])
|
||||
ax.set_ylim(-0.01, 1.01)
|
||||
ax.xaxis.set_major_locator(plt.MultipleLocator(xloc))
|
||||
ax.yaxis.set_major_locator(plt.MultipleLocator(yloc))
|
||||
ylabel(ax, ylab, transform=fig.transFigure, **ylab_kwargs)
|
||||
xlabel(ax, xlab, transform=fig.transFigure, **xlab_kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user