@@ -193,20 +193,20 @@ end
193193print("\n Plotting error vs times")
194194#Plotting the first strategy with the first minimizer out from the loop to initialize the canvas
195195current_label = string(strategies_short_name[1], " + " , minimizers_short_name[1])
196- error = Plots.plot(times["11"], error_res["11"], yaxis=:log10, label = current_label)#, xlims = (0,10))#legend = true)#, size=(1200,700))
197- plot!(error, times["21"], error_res["21"], yaxis=:log10, label = string(strategies_short_name[2], " + " , minimizers_short_name[1]))
198- plot!(error, times["31"], error_res["31"], yaxis=:log10, label = string(strategies_short_name[3], " + " , minimizers_short_name[1]))
199- plot!(error, times["41"], error_res["41"], yaxis=:log10, label = string(strategies_short_name[4], " + " , minimizers_short_name[1]))
200- plot!(error, times["51"], error_res["51"], yaxis=:log10, label = string(strategies_short_name[5], " + " , minimizers_short_name[1]))
201- plot!(error, times["61"], error_res["61"], yaxis=:log10, label = string(strategies_short_name[6], " + " , minimizers_short_name[1]))
202-
203-
204- plot!(error, times["12"], error_res["12"], yaxis=:log10, label = string(strategies_short_name[1], " + " , minimizers_short_name[2]))
205- plot!(error, times["22"], error_res["22"], yaxis=:log10, label = string(strategies_short_name[2], " + " , minimizers_short_name[2]))
206- plot!(error, times["32"], error_res["32"], yaxis=:log10, label = string(strategies_short_name[3], " + " , minimizers_short_name[2]))
207- plot!(error, times["42"], error_res["42"], yaxis=:log10, label = string(strategies_short_name[4], " + " , minimizers_short_name[2]))
208- plot!(error, times["52"], error_res["52"], yaxis=:log10, label = string(strategies_short_name[5], " + " , minimizers_short_name[2]))
209- plot!(error, times["62"], error_res["62"], yaxis=:log10, title = string("Allen Cahn convergence ADAM/LBFGS"), ylabel = "log(error)",xlabel = "t ", label = string(strategies_short_name[6], " + " , minimizers_short_name[2]))
196+ error = Plots.plot(times["11"], error_res["11"], xaxis=:log10, yaxis=:log10, label = current_label, legend=:outerright )#, xlims = (0,10))#legend = true)#, size=(1200,700))
197+ plot!(error, times["21"], error_res["21"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[2], " + " , minimizers_short_name[1]))
198+ plot!(error, times["31"], error_res["31"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[3], " + " , minimizers_short_name[1]))
199+ plot!(error, times["41"], error_res["41"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[4], " + " , minimizers_short_name[1]))
200+ plot!(error, times["51"], error_res["51"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[5], " + " , minimizers_short_name[1]))
201+ plot!(error, times["61"], error_res["61"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[6], " + " , minimizers_short_name[1]))
202+
203+
204+ plot!(error, times["12"], error_res["12"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[1], " + " , minimizers_short_name[2]))
205+ plot!(error, times["22"], error_res["22"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[2], " + " , minimizers_short_name[2]))
206+ plot!(error, times["32"], error_res["32"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[3], " + " , minimizers_short_name[2]))
207+ plot!(error, times["42"], error_res["42"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[4], " + " , minimizers_short_name[2]))
208+ plot!(error, times["52"], error_res["52"], xaxis=:log10, yaxis=:log10, label = string(strategies_short_name[5], " + " , minimizers_short_name[2]))
209+ plot!(error, times["62"], error_res["62"], xaxis=:log10, yaxis=:log10, title = string("Allen Cahn convergence ADAM/LBFGS"), ylabel = "log(error)",xlabel="log(t) ", label = string(strategies_short_name[6], " + " , minimizers_short_name[2]))
210210```
211211
212212```julia, echo = false
0 commit comments