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()