plot_mesh_field (method)

plot_mesh_field(self, meshsolution=None, field_name='mu', j_t0=0, mesh=None, solution=None, field=None, title='No title', group=None, elem_type='Triangle3')[source]
Display 2D field amplitude per element. Several possible inputs combinations: meshsolution only,
mesh and solution, or mesh and field.
Parameters:
  • self (Output) – an Output object
  • meshsolution (MeshSolution) – a MeshSolution object. Can be replaced by mesh and field.
  • mesh (Mesh) – a Mesh object
  • solution (Solution) – a Solution object
  • field (array) – Column vector with the field to be displayed
  • title (str) – Title of the figure