spatial._FM_geometry.GeometryFMPlotter

spatial._FM_geometry.GeometryFMPlotter(self, geometry)

Plot GeometryFM.

Examples

import mikeio

ds = mikeio.read("../data/FakeLake.dfsu")
g = ds.geometry
g.plot()

Methods

Name Description
boundary_nodes Plot mesh boundary nodes and their code values.
contour Plot bathymetry as contour lines.
contourf Plot bathymetry as filled contours.
mesh Plot mesh only.
outline Plot domain outline.

boundary_nodes

spatial._FM_geometry.GeometryFMPlotter.boundary_nodes(
    boundary_names=None,
    figsize=None,
    ax=None,
)

Plot mesh boundary nodes and their code values.

Examples

g.plot.boundary_nodes()

contour

spatial._FM_geometry.GeometryFMPlotter.contour(ax=None, figsize=None, **kwargs)

Plot bathymetry as contour lines.

Examples

g.plot.contour()

contourf

spatial._FM_geometry.GeometryFMPlotter.contourf(ax=None, figsize=None, **kwargs)

Plot bathymetry as filled contours.

Examples

g.plot.contourf()

mesh

spatial._FM_geometry.GeometryFMPlotter.mesh(title='Mesh', figsize=None, ax=None)

Plot mesh only.

Examples

g.plot.mesh()

outline

spatial._FM_geometry.GeometryFMPlotter.outline(
    title='Outline',
    figsize=None,
    ax=None,
)

Plot domain outline.

Examples

g.plot.outline()