Skip to content

Commit

Permalink
Merge pull request #19 from jpthiele/namedcolors
Browse files Browse the repository at this point in the history
Switch to named colors in Example108
  • Loading branch information
jpthiele authored Nov 29, 2024
2 parents 16e9625 + ed37a1d commit 0845801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Example108_RobinBoundaryCondition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function main(; Plotter = nothing, h = 1.0e-1, h_fine = 1.0e-3, order = 2, kwarg
plt = GridVisualizer(Plotter = Plotter, layout = (1, 1))
scalarplot!(plt[1, 1], id(u), sol; color = :black, label = "u_h", markershape = :circle, markersize = 10, markevery = 1)
xgrid_fine = simplexgrid(0:h_fine:1)
scalarplot!(plt[1, 1], xgrid_fine, view(nodevalues(xgrid_fine, u!), 1, :), clear = false, color = (1, 0, 0), label = "u", legend = :rb, markershape = :none)
scalarplot!(plt[1, 1], xgrid_fine, view(nodevalues(xgrid_fine, u!), 1, :), clear = false, color = :red, label = "u", legend = :rb, markershape = :none)

return sol, plt
end
Expand Down

0 comments on commit 0845801

Please sign in to comment.