pyorc.CrossSection.plot_cs#

CrossSection.plot_cs(ax=None, camera=False, swap_y_coords: bool = False, **kwargs)[source]#

Plot the cross section.

Parameters:
  • ax (plt.axes, optional) – if not provided, axes is setup (Default: None). If provided, user must take care to provide the correct projection. If camera=False, an axes must be provided with projection=”3d”.

  • camera (bool, optional) – If set, return 2D projected polygon, by default False.

  • swap_y_coords (bool, optional) – if set, all y-coordinates are swapped so that they fit on a flipped version of the image. This is useful in case you plot on ascending y-coordinate axis background images (default: False)

  • **kwargs (dict, optional) – keyword arguments used to make the line plot of the cross-section.

Return type:

mpl mappable