environmentaltools.graphics.plot_interps
- environmentaltools.graphics.plot_interps(x, y, z, zoff, niveles=array([-50, -48, -46, -44, -42, -40, -38, -36, -34, -32, -30, -28, -26, -24, -22, -20, -18, -16, -14, -12, -10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18]), fname=None)[source]
Plot comparison of two bathymetry interpolations.
Creates a side-by-side comparison plot of GEBCO and IGN/MITECO bathymetry data with contour lines.
- Parameters:
x (np.ndarray) – X-coordinates mesh grid (m).
y (np.ndarray) – Y-coordinates mesh grid (m).
z (np.ndarray) – IGN/MITECO bathymetry values (m).
zoff (np.ndarray) – GEBCO bathymetry values (m).
niveles (np.ndarray, optional) – Contour levels. Defaults to np.arange(-50, 20, 2).
fname (str, optional) – Filename to save the figure. Defaults to None.