@@ -13,7 +13,7 @@ upperLine(x) = @. exp(-6*x+3)+1
1313x = 0 : 0.01 : 1
1414y1 = lowerLine (x)
1515y2 = upperLine (x)
16- plot (x, lowerLine, color= :black , label= " " , left_margin = 5 Plots . mm, xlim= (0 ,1 ), ylim= ylims; plotParams... )
16+ plot (x, lowerLine, color= :black , label= " " , xlim= (0 ,1 ), ylim= ylims; plotParams... )
1717plot! (x, upperLine, color= :black , label= " " , xlabel= " Parameter" , ylabel= " State" , xticks= ([p1, p2], [L " p_1" , L " p_2" ]), yticks= nothing ; plotParams... )
1818
1919# Continuation curve
@@ -41,15 +41,14 @@ xCurve1(y) = @. -curve1*(y-centery1)^2+centerx1
4141xCurve2 (y) = @. curve2* (y- centery2)^ 2 + centerx2
4242
4343y = 0 : 0.01 : centery1
44- plot (xCurve1 (y), y, xlim= (0 ,1 ), ylim= (0 ,1 ), linestyle= :dot , color= :black , label= " " , left_margin = 5 Plots . mm ; plotParams... )
44+ plot (xCurve1 (y), y, xlim= (0 ,1 ), ylim= (0 ,1 ), linestyle= :dot , color= :black , label= " " ; plotParams... )
4545y = centery1: 0.01 : 1
46- plot (xCurve1 (y), y, xlim= (0 ,1 ), ylim= (0 ,1 ), color= :black , label= " " , left_margin = 5 Plots . mm ; plotParams... )
46+ plot (xCurve1 (y), y, xlim= (0 ,1 ), ylim= (0 ,1 ), color= :black , label= " " ; plotParams... )
4747y = 0 : 0.01 : centery2
4848plot! (xCurve2 (y), y, color= :black , label= " Stable LC" ; plotParams... )
4949y = centery2: 0.01 : 1
5050plot! (xCurve2 (y), y, color= :black , label= " Unstable LC" , linestyle= :dot , xticks= ([p1, p2], [L " p_1" , L " p_2" ]), yticks= nothing ; plotParams... )
5151xlabel! (" Parameter" )
52- ylabel! (" State" )
5352
5453# Continuation curve
5554criticalY = centery1+ sqrt ((centerx1- p1)/ curve1)
@@ -65,7 +64,7 @@ plot!([p2, p2], [initialCondition, centery2-sqrt((p2-centerx2)/curve2)], label="
6564# Initial Condition
6665plotB = hline! ([initialCondition], label= " IC" , color= :pink ; plotParams... )
6766
68- plot (plotA, plotB, layout= l, size= (539 ,250 ), dpi= 300 , margin = 5 Plots . mm, left_margin= 10 Plots . mm,
67+ plot (plotA, plotB, layout= l, size= (539 ,250 ), dpi= 300 , left_margin= 4 Plots . mm,
6968title= [" A" " B" ], titlelocation= :left )
7069savefig (" results/diagrams/possibleProblems.pdf" )
7170
0 commit comments