environmentaltools.graphics.plot_profiles

environmentaltools.graphics.plot_profiles(x, y, z, idx, nos=array([0, 100, 200, 300, 400, 500, 600, 700, 800, 900]))[source]

Plot spatial profiles and bathymetric cross-sections.

Creates a two-panel plot showing: (1) spatial view with profile lines, and (2) depth profiles along selected transects.

Parameters:
  • x (np.ndarray) – X-coordinates mesh grid (m).

  • y (np.ndarray) – Y-coordinates mesh grid (m).

  • z (np.ndarray) – Bathymetry or elevation values (m).

  • idx (np.ndarray) – Indices indicating the merge/reference location.

  • nos (np.ndarray, optional) – Array of profile line indices to plot. Defaults to np.arange(0, 1000, 100).