fortplot_streamplot_matplotlib Module

Complete matplotlib-compatible streamplot implementation Following matplotlib's streamplot.py EXACTLY



Subroutines

public subroutine streamplot_matplotlib(x, y, u, v, density, trajectories, n_trajectories, trajectory_lengths)

Matplotlib-compatible streamplot implementation Following the EXACT algorithm from matplotlib/streamplot.py

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)
real(kind=wp), intent(in) :: y(:)
real(kind=wp), intent(in) :: u(:,:)
real(kind=wp), intent(in) :: v(:,:)
real(kind=wp), intent(in), optional :: density
real, intent(out), allocatable :: trajectories(:,:,:)
integer, intent(out) :: n_trajectories
integer, intent(out), allocatable :: trajectory_lengths(:)