Matlab "holds on" in Julia

I'm just looking for the equivalent of the Matlab hold on team in Julia.

I have an x array that is 15x1 and y Array 15x6, so this will make 6 graphs at a time. What I want to do is speak each y[:,1],y[:,2],...,y[:,6] one at a time (pause, say, 5 seconds between each), for a better illustration convergence of the numerical method, and not just a slap in the face of all 6 iterations on it at once.

I am using the pyplot backend with the Plots.jl package.

+5
source share
1 answer

Call plot! instead of plot . for instance

 using Plots pyplot() plot!(rand(10)) plot!(rand(10)) 
+10
source

Source: https://habr.com/ru/post/1267365/


All Articles