You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/plotting.jl
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ const ALPHABET = join('a':'z')
10
10
shade_ci=true,
11
11
fig_kwargs=nothing,
12
12
axis_kwargs=nothing,
13
+
show_points=false,
14
+
markersize=9,
13
15
latex_names = Dict(vars .=> [LaTeXStrings.L"\theta_{i}" for i in SciMLBase.sym_to_index.(vars, Ref(prof))]))
14
16
15
17
Plot results from a profile likelihood solution `prof`.
@@ -27,6 +29,8 @@ Plot results from a profile likelihood solution `prof`.
27
29
- `shade_ci=true`: Whether to shade the area under the profile between the confidence interval.
28
30
- `fig_kwargs=nothing`: Extra keyword arguments for `Figure` (see the Makie docs).
29
31
- `axis_kwargs=nothing`: Extra keyword arguments for `Axis` (see the Makie docs).
32
+
- `show_points=false`: Whether to show the profile data.
33
+
- `markersize=9`: The marker size used for `show_points`.
30
34
- `latex_names = Dict(vars .=> [LaTeXStrings.L"\theta_{i}" for i in SciMLBase.sym_to_index.(vars, Ref(prof))]))`: LaTeX names to use for the parameters. Defaults to `θᵢ`, where `i` is the index of the parameter.
31
35
32
36
# Output
@@ -41,6 +45,8 @@ function plot_profiles(prof::ProfileLikelihoodSolution, vars=profiled_parameters
41
45
shade_ci=true,
42
46
fig_kwargs=nothing,
43
47
axis_kwargs=nothing,
48
+
show_points=false,
49
+
markersize=9,
44
50
latex_names=Dict(vars .=> [LaTeXStrings.L"\theta_{%$i}"for i in SciMLBase.sym_to_index.(vars, Ref(prof))]))
0 commit comments