Initialize an nrows-by-ncols subplot grid (matplotlib-compatible)
Matplotlib returns (fig, axes). Fortran cannot return tuples, so
this wrapper fills the optional axes output with a 2D array of
axis indices matching the grid (row-major). Callers that do not
need the axis matrix may omit it, preserving backward compatibility.
sharex and sharey are accepted for API parity but are not yet
wired into the rendering pipeline.
| Type | Intent | Optional | 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 |