Skip to content

Commit 7613ca5

Browse files
committed
updates
1 parent ea732d4 commit 7613ca5

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

lectures/tsyrennikov_2013.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,13 +1900,25 @@ mystnb:
19001900
caption: policy functions in the MH, MH+LE and LE economies
19011901
name: fig-tsy-policy-functions
19021902
---
1903-
fig, axes = plt.subplots(3, 2, figsize=(12, 10), sharex=True)
1903+
fig, axes = plt.subplots(3, 2, figsize=(10, 15), sharex=True)
19041904
ax = axes.ravel()
19051905
1906-
for a in ax:
1906+
paper_ylims = [(0.0, 0.6), (0.4, 1.1),
1907+
(0.05, 0.5), (0.0, 0.6),
1908+
(-0.15, 0.2), (0.0, 1.1)]
1909+
paper_yticks = [np.arange(0.0, 0.61, 0.1), np.arange(0.4, 1.01, 0.1),
1910+
np.arange(0.05, 0.51, 0.05), np.arange(0.0, 0.61, 0.1),
1911+
np.arange(-0.15, 0.21, 0.05), np.arange(0.0, 1.01, 0.2)]
1912+
paper_xticks = np.arange(0.4, 1.01, 0.1)
1913+
1914+
for a, ylim, yticks in zip(ax, paper_ylims, paper_yticks):
1915+
a.set_box_aspect(1)
19071916
a.axvline(n_low_mh, color='0.25', lw=1, ls='--')
19081917
a.axvline(n_low_le, color='0.55', lw=1, ls=':')
1909-
a.set_xlim(0.38, 1.02)
1918+
a.set_xlim(0.4, 1.0)
1919+
a.set_xticks(paper_xticks)
1920+
a.set_ylim(*ylim)
1921+
a.set_yticks(yticks)
19101922
19111923
ax[0].plot(plot_grid, policy_curve(policies['MH'], 'λ'), lw=2, label='MH')
19121924
ax[0].plot(plot_grid, policy_curve(policies['MH+LE'], 'λ'),

0 commit comments

Comments
 (0)