Skip to content

Commit 81a7008

Browse files
committed
updated sim timings figure
1 parent 7971c66 commit 81a7008

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

figures.jl

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ using CSV, DataFrames
66
t = BenchmarkTools.load("results/simTimings/data.json")[1]
77
l = @layout [a b]
88

9-
plot(t["Small"]["ODE"], st=:box, yaxis=:log10, dpi=300, size=(450,300), linewidth=0, markerstrokewidth=0, title="Small Perturbation")
10-
plot!(t["Small"]["Cont"], st=:box, yaxis=:log10, legend=:bottomleft, xaxis=nothing, linewidth=0, markerstrokewidth=0,
11-
ylabel="Time (s)", yformatter=x->x/1e9, ylim=(0.05e9, 1e9))
9+
plot(t["Small"]["ODE"], st=:box, yaxis=:log10, dpi=300, size=(450,300), linecolor=:match,
10+
markerstrokewidth=0, title="Small Perturbation", whisker_range=0)
11+
plot!(t["Small"]["Cont"], st=:box, yaxis=:log10, legend=:bottomleft, xaxis=nothing, linecolor=:match,
12+
markerstrokewidth=0, ylabel="Time (s)", yformatter=x->x/1e9, ylim=(0.05e9, 1e9), whisker_range=0)
1213
plotA = yaxis!(minorgrid=true)
13-
plot(t["Large"]["ODE"], st=:box, yaxis=:log10, dpi=300, size=(450,300), title="Large Perturbation", linewidth=0, markerstrokewidth=0)
14-
plot!(t["Large"]["Cont"], st=:box, yaxis=:log10, legend=nothing, xaxis=nothing, linewidth=0, markerstrokewidth=0,
15-
ylabel="", yformatter=x->x/1e9, ylim=(0.05e9, 1e9))
14+
plot(t["Large"]["ODE"], st=:box, yaxis=:log10, dpi=300, size=(450,300), title="Large Perturbation",
15+
linecolor=:match, markerstrokewidth=0, whisker_range=0)
16+
plot!(t["Large"]["Cont"], st=:box, yaxis=:log10, legend=nothing, xaxis=nothing, linecolor=:match, markerstrokewidth=0,
17+
ylabel="", yformatter=x->x/1e9, ylim=(0.05e9, 1e9), whisker_range=0)
1618
plotB = yaxis!(minorgrid=true)
1719

1820
plot(plotA, plotB, layout=l, size=(539,200), dpi=300, margin=5Plots.mm, link=:y)

results/simTimings/simTimings.pdf

-17.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)