You could try adapting this python stack overflow answer.  I've only ever 
done it with qt4 and the matplotlib api from python, but it is certainly 
possible.

http://stackoverflow.com/questions/11874767/real-time-plotting-in-while-loop-with-matplotlib

The key suggestions seem to be

   1. Call plt.ion() in order to enable interactive plotting. 
   plt.show(block=False) is no longer available.
   2. Call plt.show() initially, then update the plot with plt.draw()


On Monday, August 18, 2014 11:46:22 PM UTC-6, Sheehan Olver wrote:
>
> Hi,
>
> Is there a way to force plotting in PyPlot.jl, to simulate animation? 
>  Right now if I do a for loop over a sequence of plots, it only outputs the 
> last plot.
>
> This is in IJulia running on OS X with matplotlib version 1.3.1 installed, 
> and pygui(true)
>
> Sheehan
>

Reply via email to