dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04763
Re: Plotting works for elasticity demo
I get the error
Reading function from elasticity.xml.
Reading vector from file elasticity.xml.
Reading mesh from file elasticity.xml.
Traceback (most recent call last):
File "plot.py", line 4, in ?
plot(u, mode="displacement")
TypeError: plot() got an unexpected keyword argument 'mode'
when trying to plot.
Garth
Anders Logg wrote:
After som bug fixes and some improvements to Viper, plotting the
solution of the elasticity demo now works:
from dolfin import *
u = Function("elasticity.xml")
plot(u, mode="displacement")
/Anders
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References