Is there a way to (automatically) save a 2D cross section directly to a png file? I know I can save it to vtk, then open paraview and save a png. Is there a way to automate this process?f
Perhaps you can use matplotlib, see for instance :
http://fenicsproject.org/qa/5795/plotting-dolfin-solutions-in-matplotlib?show=5797#a5797