I am trying to dump plots of FiniteElement objects to file (much like in the nifty periodic table) to slurp into a document.

I am on Ubuntu 14.04, and just installed the latest dev version via hashdist. Two problems.

#1: Hashdist doesn't seem to install soya in its python interpreter (so apt-getting doesn't help here):

>>> U = FiniteElement("Lagrange", triangle, 2)
>>> plot(U)
Unable to plot element, Soya3D not available (install package python-soya).

Second, the documentation says a keyword argument hardcopy_prefix is needed, at least for function plotting.

But it doesn't seem to recognize that keyword:

>>> plot(U, hardcopy_prefix="lagrange")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/home/rkirby/.hashdist/bld/profile/gswdsngrlm3e/lib/python2.7/site-packages/dolfin/common/plotting.py", line 105, in plot
    return ffc.plot(object, *args, **kwargs)
TypeError: plot() got an unexpected keyword argument 'hardcopy_prefix'


Am I doing something wrong here?

Thanks,
Rob Kirby

_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to