# Solutions What `pm.solve` returns: the values of every unknown on the grid, with the plan that produced them and the diagnostics of the solve. | To get | Write | |---|---| | the values of an unknown on the grid | `solution[u]` | | the points of the grid | `solution.axes`, `solution.mesh()` | | the recorded times of a problem in time | `solution.times` | | the eigenvalues of an eigenproblem | `solution.eigenvalues` | | values at any points | `solution(x, y)` | | the integral over the domain | `solution.integral()` | | the plan and the [diagnostics](diagnostics.md) | `solution.plan`, `solution.diagnostics` | | what was found about each body | `solution.bodies` | | a picture | `solution.plot()`, `solution.animate()` | | a file | `solution.save(path)`, `solution.to_vtk(path)`, `solution.to_xarray()` | In a problem in time the values of an unknown have the recorded times along their first axis, and in an eigenproblem the eigenfunctions, in the order of the eigenvalues. ```{eval-rst} .. autoclass:: pdemagic.Solution :members: unknowns, axes, mesh, bodies, plot, animate, integral, save, to_xarray, to_vtk, __call__ ``` See also: [Solutions](../topics/solutions.md), [Plotting](../topics/plotting.md) and [Accuracy and diagnostics](../topics/accuracy.md).