Commit 7dc1d023 authored by Antonino D'Anna's avatar Antonino D'Anna

implemented automatica savefig in mpcac if pl=true

parent 1e2e9099
......@@ -132,10 +132,13 @@ function mpcac(a0p::Vector{uwreal}, pp::Vector{uwreal}, plat::Vector{Int64}; ca:
if !isnothing(kappa)
title(string(L"$\kappa_1 = $", kappa[1], L" $\kappa_2 = $", kappa[2]))
savefig(string("mpcac/kappa_1_$(kappa[1])_kappa_2_$(kappa[2]).png"))
end
if !isnothing(mu)
title(string(L"$\mu_1 = $", mu[1], L" $\mu_2 = $", mu[2]))
savefig(string("mpcac/mu_1_$(mu[1])_mu_2_$(mu[2]).png"))
end
display(gcf())
end
if !data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment