Ola Skavhaug wrote:
> Garth N. Wells skrev den 29/03-2008 følgende:
>>
>> Ola Skavhaug wrote:
>>> Garth N. Wells skrev den 28/03-2008 følgende:
>>>> When plotting a MeshFunction, the plot window opens and then closes  
>>>> again quickly. Seems to be OK for a regular Function.
>>> OK, that's a simple fix. Will do.
>>>
>> Things appear to be fixed for cpp demos, but not for the python demos.  
>> Plots disappear quickly.
> 
> OK, we have made the plot(u) non-interactive. This makes the plotting less
> verbose when done in a loop, a-la:
> 
> for i in xrange(N):
>     u = compute_somthing()
>     plot(u)
> 
> In the demos, the call interactive() should be placed at the end.
>

This works. although there is no 'press q to continue' message.

Garth

> Ola
> 
>> Garth
>>
>>
>>> Ola
>>>  
>>>> Garth
>>>> _______________________________________________
>>>> DOLFIN-dev mailing list
>>>> [email protected]
>>>> http://www.fenics.org/mailman/listinfo/dolfin-dev



_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to