Skip to content

Commit e80e78c

Browse files
committed
added unstable line in diagram
1 parent c26f88e commit e80e78c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

diagrams.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ p2 = 0.85
1010
ylims = (0, 5)
1111
lowerLine(x) = @. exp(-5*x+0.75)+0.5
1212
upperLine(x) = @. exp(-6*x+3)+1
13+
midLine(x) = @. exp(-5.5*x+2)+0.75
1314
x = 0:0.01:1
1415
y1 = lowerLine(x)
1516
y2 = upperLine(x)
17+
y3 = midLine(x)
1618
plot(x, lowerLine, color=:black, label="", xlim=(0,1), ylim=ylims; plotParams...)
19+
plot!(x, midLine, color=:black, label="", linestyle=:dot; plotParams...)
1720
plot!(x, upperLine, color=:black, label="", xlabel="Parameter", ylabel="State", xticks=([p1, p2], [L"p_1", L"p_2"]), yticks=nothing; plotParams...)
1821

1922
# Continuation curve

0 commit comments

Comments
 (0)