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)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | nrows | |||
| integer, | intent(in) | :: | ncols | |||
| integer, | intent(in) | :: | index |