dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04300
Re: Plotting in DOLFIN
The plotting demo has been updated to do some 3D plots as well.
Ola Skavhaug, developer of Viper, accepts feature requests for Viper,
so send any suggestions you have for improved functionality.
Here are some more things you can try: press 'w', 's' or 'o' in the
plot window. There may be other hidden shortcuts as well.
I'd like to add Viper as a new project. Comments or objections?
/Anders
On Wed, Jan 31, 2007 at 12:10:11PM +0100, Anders Logg wrote:
> There is a demo in src/demo/scripting/pydolfin/ named plotting.py that
> demonstrates simple plotting of functions and meshes from within
> PyDOLFIN.
>
> The plotting depends on Viper which is available from
>
> http://www.fenics.org/dev/viper
>
> Here's a simple manual:
>
> # Plot scalar function
> plot(u)
>
> # Plot vector-valued function
> plot(u)
>
> # Plot mesh
> plot(mesh)
>
> # Plot mesh displaced by a function
> plot(mesh, u)
>
> /Anders
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References