aboutsummaryrefslogtreecommitdiff
path: root/hw8/10-17-new.jl
diff options
context:
space:
mode:
Diffstat (limited to 'hw8/10-17-new.jl')
-rw-r--r--hw8/10-17-new.jl2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw8/10-17-new.jl b/hw8/10-17-new.jl
index 1353618..a655553 100644
--- a/hw8/10-17-new.jl
+++ b/hw8/10-17-new.jl
@@ -68,6 +68,8 @@ anim = @animate for t in 0:dt:0.25
plot!(x[2:end-1], real(tmp), xlabel = "x", label = "real")
# plot the imaginary
plot!(x[2:end-1], imag(tmp), xlabel = "x", label = "imag")
+ endpoint_1 = 0.0
+ endpoint_2 = barrier_width
plot!([endpoint_1, endpoint_1], [0, 2], label = "", line = :dash, color = :red)
plot!([endpoint_2, endpoint_2], [0, 2], label = "barrier (width = $barrier_width)", line = :dash, color = :red)
end