I'm just looking for an equivalent of Matlab's hold on command in Julia.
I have x Array that is 15x1 and y Array 15x6, so this will make 6 plots all at once. What I want to do is plot each y[:,1],y[:,2],...,y[:,6] one at a time (pausing say 5 seconds between each one) for a better illustration of convergence of a numerical method rather than just slapping all 6 iterations on there at once.
I'm using the pyplot backend with the Plots.jl package.
Call plot! instead of plot. For example
using Plots
pyplot()
plot!(rand(10))
plot!(rand(10))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With