Skip to content

Commit 08de342

Browse files
authored
Merge pull request #41 from WIAS-PDELib/doc/plots
Change plot of Example312 once again
2 parents a282fa7 + 7a04d09 commit 08de342

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/Example312_PeriodicBoundary3D.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,8 @@ function main(;
176176
## solve
177177
sol = solve(PD, FES; kwargs...)
178178

179-
plt = GridVisualizer(; Plotter, size = (1200, 800))
180-
magnification = 1
181-
displaced_grid = deepcopy(xgrid)
182-
displace_mesh!(displaced_grid, sol[1], magnify = magnification)
183-
gridplot!(plt, displaced_grid, linewidth = 1, title = "displaced mesh, $(magnification)x magnified")
179+
displace_mesh!(xgrid, sol[u])
180+
plt = plot([grid(u)], sol; Plotter, do_vector_plots = false, width = 1200, height = 800, title = "displaced mesh", scene3d = :LScene)
184181

185182
return sol, plt
186183

0 commit comments

Comments
 (0)