Matplotlib-style plot creation wrappers built on top of fortplot figures.
Each wrapper exposes a matplotlib-compatible signature. Color kwargs accept either a character string (name, hex, single-letter) or an RGB triple through generic interfaces defined below. Parameters that have no visual effect in the current backend are accepted silently so that matplotlib-style code does not generate spurious runtime warnings.
Boxplot with named-color string (matplotlib-compatible). Converts string color to RGB before delegating to the figure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | data(:) | ||
| real(kind=wp), | intent(in), | optional | :: | position | ||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| logical, | intent(in), | optional | :: | show_outliers | ||
| logical, | intent(in), | optional | :: | horizontal | ||
| character(len=*), | intent(in) | :: | color |
Boxplot with RGB-triple color (matplotlib-compatible).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | data(:) | ||
| real(kind=wp), | intent(in), | optional | :: | position | ||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| logical, | intent(in), | optional | :: | show_outliers | ||
| logical, | intent(in), | optional | :: | horizontal | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) |
3D plot wrapper with RGB-triple color (matplotlib-compatible).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | z(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | linewidth | ||
| character(len=*), | intent(in), | optional | :: | marker | ||
| real(kind=wp), | intent(in), | optional | :: | markersize |
3D plot wrapper with named-color string (matplotlib-compatible). Converts string color to RGB before delegating to the figure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | z(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| character(len=*), | intent(in) | :: | color | |||
| real(kind=wp), | intent(in), | optional | :: | linewidth | ||
| character(len=*), | intent(in), | optional | :: | marker | ||
| real(kind=wp), | intent(in), | optional | :: | markersize |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | height(:) | ||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| real(kind=wp), | intent(in), | optional | :: | bottom(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | edgecolor(3) | ||
| character(len=*), | intent(in), | optional | :: | align |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | height(:) | ||
| character(len=*), | intent(in) | :: | color | |||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| real(kind=wp), | intent(in), | optional | :: | bottom(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | edgecolor | ||
| character(len=*), | intent(in), | optional | :: | align |
Bar with RGB-triple color and named-color edgecolor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | height(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| character(len=*), | intent(in) | :: | edgecolor | |||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| real(kind=wp), | intent(in), | optional | :: | bottom(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | align |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | width(:) | ||
| real(kind=wp), | intent(in), | optional | :: | height | ||
| real(kind=wp), | intent(in), | optional | :: | left(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | edgecolor(3) | ||
| character(len=*), | intent(in), | optional | :: | align |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | width(:) | ||
| character(len=*), | intent(in) | :: | color | |||
| real(kind=wp), | intent(in), | optional | :: | height | ||
| real(kind=wp), | intent(in), | optional | :: | left(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | edgecolor | ||
| character(len=*), | intent(in), | optional | :: | align |
Barh with RGB-triple color and named-color edgecolor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | width(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| character(len=*), | intent(in) | :: | edgecolor | |||
| real(kind=wp), | intent(in), | optional | :: | height | ||
| real(kind=wp), | intent(in), | optional | :: | left(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | align |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| character(len=*), | intent(in) | :: | color | |||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | linewidth | ||
| character(len=*), | intent(in), | optional | :: | marker | ||
| real(kind=wp), | intent(in), | optional | :: | markersize |
Bar with per-bar RGB color arrays
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | height(:) | ||
| real(kind=wp), | intent(in), | optional | :: | color_per_bar(3,*) | ||
| real(kind=wp), | intent(in), | optional | :: | edgecolor_per_bar(3,*) | ||
| real(kind=wp), | intent(in), | optional | :: | width | ||
| real(kind=wp), | intent(in), | optional | :: | bottom(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | align |
Barh with per-bar RGB color arrays
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | width(:) | ||
| real(kind=wp), | intent(in), | optional | :: | color_per_bar(3,*) | ||
| real(kind=wp), | intent(in), | optional | :: | edgecolor_per_bar(3,*) | ||
| real(kind=wp), | intent(in), | optional | :: | height | ||
| real(kind=wp), | intent(in), | optional | :: | left(:) | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | align |