Single Solution Plotter (single_solution_plotter)

class pypint.plugins.plotters.single_solution_plotter.SingleSolutionPlotter(*args, **kwargs)[source]

Bases: pypint.plugins.plotters.i_plotter.IPlotter

Plotter for a single solution of an iterative time solver.

See also

IPlotter : overridden class

plot(*args, **kwargs)[source]

Plots the solution and optional also the error for each iteration.

Parameters:
  • solver (IIterativeTimeSolver) – solver instance used to calculate the solution
  • state (ISolverState) – state containing information to plot
  • errplot (bool) – (optional) if given and True also plots the errors for each iteration found in the solution
  • residualplot (bool) – (optional) if given and True also plots the residual for each iteration found in the solution
Raises:

ValueError