subplots Subroutine

public subroutine subplots(nrows, ncols, axes, sharex, sharey)

Initialize a subplot grid.

Parameters nrows : integer Number of subplot rows. ncols : integer Number of subplot columns. axes : integer, allocatable, optional Output 2D array of subplot indices in row-major order. sharex : logical, optional Accepted for matplotlib parity. sharey : logical, optional Accepted for matplotlib parity.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nrows
integer, intent(in) :: ncols
integer, intent(out), optional, allocatable :: axes(:,:)
logical, intent(in), optional :: sharex
logical, intent(in), optional :: sharey