Formatting

This commit is contained in:
Nuwan Yapa 2025-02-10 20:12:27 -05:00
parent c0a914c3c4
commit 3149d4c302
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ function solve_system(s::system, initial_dens=nothing, initial_flds=(zeros(1 + s
(Φ0s, W0s, B0s, A0s) = initial_flds
if monitor_plot
p = plot(legends=false, layout=(2, 2), title=["ρ_sp" "ρ_vp" "ρ_sn" "ρ_vn"])
p = plot(legends=false, size=(1024, 768), layout=(2, 4), title=["ρₛₚ" "ρᵥₚ" "ρₛₙ" "ρᵥₙ" "Φ₀" "W₀" "B₀" "A₀"])
end
E_total_previous = NaN
@ -67,7 +67,7 @@ function solve_system(s::system, initial_dens=nothing, initial_flds=(zeros(1 + s
for s in p.series_list
s.plotattributes[:linecolor] = :gray
end
plot!(p, rs(s), hcat(ρ_sp, ρ_vp, ρ_sn, ρ_vn), linecolor=:red)
plot!(p, rs(s), hcat(ρ_sp, ρ_vp, ρ_sn, ρ_vn, Φ0s, W0s, B0s, A0s), linecolor=:red)
display(p)
end