subplot Subroutine

public subroutine subplot(nrows, ncols, index)

Select a subplot in an nrows-by-ncols grid (matplotlib-compatible)

Behavior: - On first call or when grid shape differs, (re)create the grid - Set the current subplot selection to index (row-major order)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nrows
integer, intent(in) :: ncols
integer, intent(in) :: index