Save plot 1D mesh
Asked by
Anders Pettersson
Hi!
I have problems with saving my plots. It seems like I can't save them with the commands write_png, write_ps... when the mesh is one dimensonal. Is this correct? Is there any other way to save it? Parts of the code follows:
q = 1
W_h = FunctionSpace(mesh, "DG", q)
x_h = Function(W_h, x_h)
p = plot(x_h, title = "x_h", basename = "begynnelse50")
p.write_
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johannes Ring
- Solved:
- Last query:
- Last reply:
To post a message you must log in.