Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update µ and σ recipe #71

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions ext/LegendSpecFitsRecipesBaseExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -832,11 +832,11 @@ end
xmin = floor(Int, minimum(report.x)/100)*100
xmax = ceil(Int, maximum(report.x)/100)*100

yguidefontsize := 18
xguidefontsize := 18
yguidefontsize := 16
xguidefontsize := 16
ytickfontsize := 12
xtickfontsize := 12
legendfontsize := 14
legendfontsize := 12
foreground_color_legend := :silver
background_color_legend := :white
framestyle := :box
Expand All @@ -847,7 +847,7 @@ end
seriestype := :line
subplot --> 1
color := :orange
ms := 3
markersize := 3
linewidth := 3
label := report.label_fit
ribbon := uncertainty.(report.f_fit(report.x))
Expand All @@ -856,6 +856,7 @@ end
@series begin
ylabel := "$(report.label_y) (a.u.)"
seriestype := :scatter
markersize := 3
subplot --> 1
color := :black
#ylims := (0.98 * (Measurements.value(minimum(report.y)) - Measurements.uncertainty(median(report.y))), 1.02 * (Measurements.value(maximum(report.y)) + Measurements.uncertainty(median(report.y)) ) )
Expand Down Expand Up @@ -895,7 +896,7 @@ end
seriestype := :scatter
subplot --> 2
color := :black
ms := 3
markersize := 3
label := false
framestyle := :box
grid := :false
Expand All @@ -907,4 +908,4 @@ end
report.x, report.gof.residuals_norm
end
end
end # module LegendSpecFitsRecipesBaseExt
end # module LegendSpecFitsRecipesBaseExt
Loading