diff --git a/examples/Example120_ThreeRegions1D.jl b/examples/Example120_ThreeRegions1D.jl index bdbc0a53f..e067d42ab 100644 --- a/examples/Example120_ThreeRegions1D.jl +++ b/examples/Example120_ThreeRegions1D.jl @@ -117,12 +117,12 @@ function main(; n = 30, Plotter = nothing, plot_grid = false, verbose = false, U2 = view(U[2, :], subgrid2) U3 = view(U[3, :], subgrid3) - scalarplot!(p[1, 1], subgrid1, U1; label = "spec1", color = (0.5, 0, 0), + scalarplot!(p[1, 1], subgrid1, U1; label = "spec1", color = :darkred, xlimits = (0, 3), flimits = (0, 1e-3), title = @sprintf("three regions t=%.3g", time)) - scalarplot!(p[1, 1], subgrid2, U2; label = "spec2", color = (0.0, 0.5, 0), + scalarplot!(p[1, 1], subgrid2, U2; label = "spec2", color = :green, clear = false) - scalarplot!(p[1, 1], subgrid3, U3; label = "spec3", color = (0.0, 0.0, 0.5), + scalarplot!(p[1, 1], subgrid3, U3; label = "spec3", color = :navyblue, clear = false, show = true) if ismakie(Plotter) sleep(0.02) diff --git a/examples/Example221_EquationBlockPrecon.jl b/examples/Example221_EquationBlockPrecon.jl index b8d8d1011..552f20a64 100644 --- a/examples/Example221_EquationBlockPrecon.jl +++ b/examples/Example221_EquationBlockPrecon.jl @@ -111,9 +111,9 @@ function main(;dim=1, nref=0, Plotter = nothing, plot_grid = false, verbose = fa U2 = view(U[2, :], subgrid2) U3 = view(U[3, :], subgrid3) - scalarplot!(p[1, 1], subgrid1, U1; title = "spec1", color = (0.5, 0, 0)) - scalarplot!(p[2, 1], subgrid2, U2; title = "spec2", color = (0.0, 0.5, 0)) - scalarplot!(p[3, 1], subgrid3, U3; title = "spec3", color = (0.0, 0.0, 0.5)) + scalarplot!(p[1, 1], subgrid1, U1; title = "spec1", color = :darkred) + scalarplot!(p[2, 1], subgrid2, U2; title = "spec2", color = :green) + scalarplot!(p[3, 1], subgrid3, U3; title = "spec3", color = :navyblue) reveal(p) U end