xsect.calc.plot_section¶
-
xsect.calc.
plot_section
(points, ax=None, title='', symbols={})[source]¶ Plots the cross section defined by the input boundary points.
Parameters: - points : array
An array of (x, y) coordinates of shape (N, 2).
- ax :
matplotlib.axes.Axes
The axes to which the plot will be added. If None, a new figure and axes will be created.
- title : str
The title of the figure.
- symbols : dict
A dictionary of symbols to use for the plot. Valid keys are:
- boundary: The boundary lines, default is ‘b-‘.
- centroid: The centroid point, default is ‘’.
- primary_axes: The primary axes lines, default is ‘g-.’
- principal_axes: The pricipal axes lines, default is ‘m-.’