Skip to content

Commit 2b4331b

Browse files
committed
change deterministinc flow to homoflow in figure
1 parent 69e97bb commit 2b4331b

File tree

93 files changed

+530
-138
lines changed

Some content is hidden

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

93 files changed

+530
-138
lines changed

example/real_data_expt/nuts/deliverables/plot_script.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ include(joinpath(@__DIR__, "../../julia_env/", "plotting.jl"))
44

55

66
df_rwmh = CSV.read("deliverables/rwmh_res/output/summary.csv", DataFrame)
7+
# rename DeterministicMixFlow to HomogeneousMixFlow
8+
df_rwmh.method .= replace(df_rwmh.method, "DeterministicMixFlow" => "HomogeneousMixFlow")
79
df_nut = CSV.read("deliverables/nuts.csv", DataFrame)
810

911
# for t in real_data_list
@@ -28,7 +30,7 @@ for t in real_data_list
2830
label=""
2931
)
3032
plot!(fg, legend=:best)
31-
plot!(fg, dpi=600, size=(600, 400), margin=5Plots.mm)
33+
plot!(fg, dpi=200, size=(600, 400), margin=5Plots.mm)
3234
savefig(fg, "figure/$(t)_mean_error.png")
3335

3436
fg = @df ds_combine boxplot(
@@ -44,7 +46,7 @@ for t in real_data_list
4446
label=""
4547
)
4648
plot!(fg, legend=:best)
47-
plot!(fg, dpi=600, size=(600, 400), margin=5Plots.mm)
49+
plot!(fg, dpi=200, size=(600, 400), margin=5Plots.mm)
4850
savefig(fg, "figure/$(t)_std_error.png")
4951
catch e
5052
println("Error in $t: ", e)
-144 KB
-142 KB
-119 KB
-141 KB
-150 KB
-147 KB
-133 KB
-134 KB
-155 KB

0 commit comments

Comments
 (0)