polynomials_on_simplices.piecewise_polynomial.plot_piecewise_polynomial module¶
Functionality for plotting discontinuous Galerkin finite elements (piecewise polynomials) on a simplicial domain (triangulation).
-
plot_bivariate_piecewise_polynomial
(p, *args, **kwargs)[source]¶ Plot a bivariate scalar valued piecewise polynomial.
Parameters: - p (Implementation of
PiecewisePolynomialBase
) – Piecewise polynomial that we want to plot. - args – Additional arguments passed to the plot command.
- kwargs – Keyword arguments. ‘edge_resolution’: Number of discrete points in the plot along each edge in the mesh the piecewise polynomial is defined on. Further keyword arguments are passed to the plot_curve command.
- p (Implementation of
-
plot_univariate_piecewise_polynomial
(p, *args, **kwargs)[source]¶ Plot a univariate scalar valued piecewise polynomial.
Parameters: - p (Implementation of
PiecewisePolynomialBase
) – Piecewise polynomial that we want to plot. - args – Additional arguments passed to the plot command.
- kwargs – Keyword arguments. ‘edge_resolution’: Number of discrete points in the plot on each line in the mesh the piecewise polynomial is defined on. Further keyword arguments are passed to the plot_curve command.
- p (Implementation of