dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02300
Re: Visualization
On Fri, Mar 31, 2006 at 05:14:42PM +0200, Johan Jansson wrote:
> On Fri, Mar 31, 2006 at 03:44:21PM +0200, Johan Jansson wrote:
>
> ...
>
> > I suggest matplotlib for ODE and ParaView for PDE. Is ParaView
> > scriptable through Python though? We should look into this. Mayavi
> > doesn't support time series well (last I looked) and ParaView is very
> > easy to use.
> >
>
> I'd like to revise my statement on Mayavi, it does support time
> series well enough.
>
> ParaView scripting also exists via Tcl.
>
> So we have a choice: ParaView is more powerful but Mayavi exists as a
> Python module (implying easier scripting).
Maybe we can use ParaView and just have a simple Python script that
does the following:
# Check for ParaView
if not {paraview installed}:
print "Unable to find ParaView, get it her..."
# Start ParaView
paraview --data=<solution file>.pvd
That way we wouldn't need to maintain complicated scripts for MayaVi.
Is that a good solution?
Also, is "visualize.py" a good name? Another option would be
"plotsolution.py".
/Anders
References