Mike, Thanks very much. It now plots the sequence of sine plots.
On a related topic, I am not seeing a Winston equivalent of the matlab scatter plot, although in your examples it seems that you almost do that. When displaying 2D particle positions/points I have found scatter to be of real convenience. Do you think you might add such to Winston someday? Thanks for your help. Comer On Fri, Jan 31, 2014 at 2:38 PM, Mike Nolta <[email protected]> wrote: > On Fri, Jan 31, 2014 at 2:28 PM, Comer Duncan <[email protected]> > wrote: > > Hi, > > > > I am wanting to use Winston to show a movie of plots of a running > > computation in julia, but alas it does not seem to work. Here is what I > have > > tried: > > > > using Winston > > x = linspace(0.,6*pi,100) > > > > for i = 1:10 > > x = x*float(i); > > plot(sin(x)) > > endt v > > > > Try `display(plot(sin(x)))`. > > -Mike > > > When run no plots appear. When I just plot(sin(x)) it of course plots > the > > last computed values of sin(x) but none of the previous ones. > > > > The reason I am doing this is to set up a simple movie plot where I want > > plot to render the current values of a dynamics array (actually the > > probability density solution of the time-dependent Schrodinger equation. > The > > above is just a simple attempt to get something going. > > > > So, how come the plots can not be rendered as the do loop is traversed? > > What am I missing? > > > > Thanks much for your help. > > > > Comer >
