Skip to content

Commit

Permalink
Update colorranges in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddahlbom committed Jun 6, 2024
1 parent 2730a0c commit 71a30af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/03_LLD_CoRh2O4.jl
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,5 @@ heatmap(radii, ωs, output;
ylabel="Energy Transfer (meV)",
aspect = 1.4,
),
colorrange = (0, 20.0)
colorrange = (0, 150.0)
)
6 changes: 3 additions & 3 deletions examples/04_GSD_FeI2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ fig
# for `Fe2` magnetic ions, and a dipole polarization correction `:perp`.

formfactors = [FormFactor("Fe2"; g_lande=3/2)]
new_formula = intensity_formula(sc, :perp; kT, formfactors = formfactors)
new_formula = intensity_formula(sc, :perp; kT, formfactors)

# Frequently, one wants to extract energy intensities along lines that connect
# special wave vectors--a so-called "spaghetti plot". The function
Expand Down Expand Up @@ -283,11 +283,11 @@ ax_top = Axis(fig[1,1],ylabel = "meV",xticklabelrotation=π/8,xticklabelsize=12;
ax_bottom = Axis(fig[2,1],ylabel = "meV",xticks = (markers, string.(points)),xticklabelrotation=π/8,xticklabelsize=12)

heatmap!(ax_top,1:size(is_interpolated,1), ωs, is_interpolated;
colorrange=(0.0,0.07),
colorrange=(0.0, 1.0),
)

heatmap!(ax_bottom,1:size(is_binned,1), ωs, is_binned;
colorrange=(0.0,0.05),
colorrange=(0.0, 0.0000015),
)

fig
Expand Down
2 changes: 1 addition & 1 deletion examples/08_Scattering_conventions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ disp_swt, intens_swt = intensities_bands(swt, path, formula);
fig = Figure()
ax = Axis(fig[1,1]; aspect=1.4, ylabel="ω (meV)", xlabel="𝐪 (r.l.u.)",
xticks, xticklabelrotation=π/10)
heatmap!(ax, 1:size(data, 1), available_energies(sc), data; colorrange=(0.0, 0.8))
heatmap!(ax, 1:size(data, 1), available_energies(sc), data; colorrange=(0.0, 50.0))
lines!(ax, disp_swt[:,1]; color=:magenta, linewidth=2)
fig

0 comments on commit 71a30af

Please sign in to comment.