plotLayers

pyslm.visualise.plotLayers(layers, plotContours=True, plotHatches=True, plotPoints=True, handle=None)

Plots a list of Layer, specifically the scan vectors (contours and hatches) and point exposures for each LayerGeometry using Matplotlib. The Layer may be plotted in 3D by setting the plot3D parameter.

Parameters:
  • layers (List[Layer]) – A list of Layer

  • plotContours (Optional[bool]) – Plots the inner hatch scan vectors. Defaults to True

  • plotHatches (Optional[bool]) – Plots the hatch scan vectors

  • plotPoints (Optional[bool]) – Plots point exposures

  • handle (Optional[Tuple[Figure, Axes]]) – Matplotlib handle to re-use

Return type:

Tuple[Figure, Axes]