Skip to content

Commit ce54d93

Browse files
auto sync from book-dp1
1 parent f99a870 commit ce54d93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+618
-279
lines changed

code/jl/american_option.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fontsize=16
5555

5656

5757
function plot_contours(; savefig=false,
58-
figname="./figures/american_option_1.pdf")
58+
figname="../figures/american_option_1.pdf")
5959

6060
model = create_american_option_model()
6161
(; t_vals, z_vals, w_vals, Q, φ, T, β, K, e) = model
@@ -94,7 +94,7 @@ end
9494

9595
function plot_strike(; savefig=false,
9696
fontsize=12,
97-
figname="./figures/american_option_2.pdf")
97+
figname="../figures/american_option_2.pdf")
9898

9999
model = create_american_option_model()
100100
(; t_vals, z_vals, w_vals, Q, φ, T, β, K, e) = model

code/jl/ar1_spec_rad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fs=14
7474

7575
function plot_beta_sim(; T=80,
7676
savefig=false,
77-
figname="./figures/ar1_spec_rad.pdf")
77+
figname="../figures/ar1_spec_rad.pdf")
7878
β_vals = zeros(T)
7979
Z = 1
8080
for t in 1:T

code/jl/bellman_envelope.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ ax.set_yticks([])
5252

5353
plt.show()
5454

55-
file_name = "./figures/bellman_envelope.pdf"
55+
file_name = "../figures/bellman_envelope.pdf"
5656
fig.savefig(file_name)
5757

code/jl/binom_stoch_dom.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ax.plot(x, pdf(ψ), "-o", alpha=0.6, label=lb)
2323
ax.legend(fontsize=16, frameon=false)
2424

2525
if false
26-
fig.savefig("./figures/binom_stoch_dom.pdf")
26+
fig.savefig("../figures/binom_stoch_dom.pdf")
2727
end
2828

2929
plt.show()

code/jl/concave_map_fp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ ax.set_ylim(0, 3)
3535
ax.set_xlim(0, 3)
3636

3737
plt.show()
38-
#fig.savefig("./figures/concave_map_fp.pdf")
38+
#fig.savefig("../figures/concave_map_fp.pdf")
3939

4040

0 commit comments

Comments
 (0)