On second thought, the scheme using `Input` might actually work for this.
I'll have a go.
Christoph
On Thursday, 27 November 2014 15:36:28 UTC, Christoph Ortner wrote:
>
>
>
> Thank you both for your replies.
>
> Since the purpose is to plot the current state of a numerical simulation
> every few iterations (of some nonlinear iteration or time-stepping scheme)
> I don't think either these are suitable though.
>
> Re the @manipulate approach: I just get a slider this way? I've tried to
> follow the examples in the @manipulate docs, but no luck really to get
> these to run either. + All this is much too complicated for my test.
>
> Is there no way to simple force IJulia to draw the current plot command?
>
> Thanks,
> Christoph
>
>
>
> On Thursday, 27 November 2014 14:20:36 UTC, Steven G. Johnson wrote:
>>
>> using PyPlot, Interact
>>
>> f = figure()
>> @manipulate for p in 1:10
>> withfig(f) do
>> ...plot commands with parameter p...
>> end
>> end
>>
>> There are some other plotting examples with @manipulate in the Interact
>> docs.
>
>