Plotting DG Functions in 1D
Issue #154
wontfix
Related to issue #59, DG functions also plot badly in 1D.
e.g.
mesh = UnitIntervalMesh(10)
DG0 = FunctionSpace(mesh, "DG", 0)
F = interpolate(Expression("sin(10*x[0])"), DG0)
plot(F, interactive=True)
Comments (2)
-
-
- changed status to wontfix
Looks ok on fine mesh.
Making it look 'good' would require supporting cell-wise plotting in the VTK wrapper, which I don't think is worth the effort.
- Log in to comment
@chris_richardson What do you mean plot badly in 1D? Everything gets interpolated onto CG1 in arbitrary dimension before plotting.