spatial._FM_geometry._GeometryFMPlotter
self, geometry) spatial._FM_geometry._GeometryFMPlotter(
Plot GeometryFM
Examples
>>> ds = mikeio.read("HD2D.dfsu")
>>> g = ds.geometry
>>> g.plot() # bathymetry (as patches)
>>> g.plot.contour() # bathymetry contours
>>> g.plot.contourf() # filled bathymetry contours
>>> g.plot.mesh() # mesh only
>>> g.plot.outline() # domain outline only
>>> g.plot.boundary_nodes()
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 (using the boundary_polylines property) |
boundary_nodes
spatial._FM_geometry._GeometryFMPlotter.boundary_nodes(=None
boundary_names=None
figsize=None
ax )
Plot mesh boundary nodes and their code values
contour
=None, figsize=None, **kwargs) spatial._FM_geometry._GeometryFMPlotter.contour(ax
Plot bathymetry as contour lines
contourf
spatial._FM_geometry._GeometryFMPlotter.contourf(=None
ax=None
figsize**kwargs
)
Plot bathymetry as filled contours
mesh
spatial._FM_geometry._GeometryFMPlotter.mesh(='Mesh'
title=None
figsize=None
ax )
Plot mesh only
outline
spatial._FM_geometry._GeometryFMPlotter.outline(='Outline'
title=None
figsize=None
ax )
Plot domain outline (using the boundary_polylines property)