Skip to content

Commit

Permalink
Merge pull request #71 from verenaaur/recipe
Browse files Browse the repository at this point in the history
Update µ and σ recipe
  • Loading branch information
theHenks authored Oct 6, 2024
2 parents e626980 + 584fd09 commit 1ee24c0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ext/LegendSpecFitsRecipesBaseExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,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 @@ -860,7 +860,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 @@ -869,6 +869,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 @@ -908,7 +909,7 @@ end
seriestype := :scatter
subplot --> 2
color := :black
ms := 3
markersize := 3
label := false
framestyle := :box
grid := :false
Expand All @@ -920,4 +921,4 @@ end
report.x, report.gof.residuals_norm
end
end
end # module LegendSpecFitsRecipesBaseExt
end # module LegendSpecFitsRecipesBaseExt

0 comments on commit 1ee24c0

Please sign in to comment.