I have for loop which runs some computation. For debugging, I want to see the output “real-time”. One possible way to do that is continuously plotting add points to the same graph.
using Gaston
plot(something)
for iter=1:100
res = myProg(...)
plot!(res) |> display
end
As shown above, I tried to use Gaston to do this. This seems to work, but the use of plot!(res) |> display
seems strange, as I do not see it in the manual of Gaston.
Could anyone comment on this? Or if you have a better way to plot the results on the fly, please let me know. Thank you!