pvtend.plotting.plot_wind_overlay

pvtend.plotting.plot_wind_overlay(u: ndarray, v: ndarray, x: ndarray, y: ndarray, *, scalar_field: ndarray | None = None, skip: int = 2, scale: float = 50.0, title: str = '', ax: Axes | None = None, figsize: tuple[float, float] = (8, 6)) Axes[source]

Plot wind vectors (quiver) with optional scalar background.

Parameters:
  • u – Wind components (2D arrays).

  • v – Wind components (2D arrays).

  • x – 1D coordinate arrays.

  • y – 1D coordinate arrays.

  • scalar_field – Optional background scalar field.

  • skip – Subsample factor for quiver arrows.

  • scale – Quiver scale parameter.

  • title – Plot title.

  • ax – Existing axes.

  • figsize – Figure size.

Returns:

Matplotlib Axes.