Matplotlib-compatible plot functions for imshow/pie/polar/step/stem/fill.
Color kwargs accept either a named color string or an RGB triple via
generic interfaces. fill_between makes y1 required to match
matplotlib's contract. fill accepts an optional step stage to
mirror matplotlib's stair-fill mode.
String-color variant of polar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | theta(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | r(:) | ||
| character(len=*), | intent(in), | optional | :: | fmt | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| character(len=*), | intent(in), | optional | :: | marker | ||
| character(len=*), | intent(in), | optional | :: | color |
RGB-color variant of polar. Serialises the RGB triple as a hex string so the underlying implementation remains untouched.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | theta(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | r(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| character(len=*), | intent(in), | optional | :: | fmt | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| character(len=*), | intent(in), | optional | :: | marker |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| character(len=*), | intent(in), | optional | :: | where | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| character(len=*), | intent(in), | optional | :: | color | ||
| real(kind=wp), | intent(in), | optional | :: | linewidth |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| character(len=*), | intent(in), | optional | :: | where | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| character(len=*), | intent(in), | optional | :: | linestyle | ||
| real(kind=wp), | intent(in), | optional | :: | linewidth |
Fill the area between a curve and zero. step activates stair
fill to match matplotlib's step argument on fill_between.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| character(len=*), | intent(in) | :: | color | |||
| real(kind=wp), | intent(in), | optional | :: | alpha | ||
| character(len=*), | intent(in), | optional | :: | step |
RGB-color variant of fill.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| real(kind=wp), | intent(in), | optional | :: | alpha | ||
| character(len=*), | intent(in), | optional | :: | step |
fill called without an explicit color uses the figure palette.
Kept as a dedicated overload so matplotlib-style no-color calls
remain legal through the generic interface.
| 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 | :: | alpha | ||
| character(len=*), | intent(in), | optional | :: | step |
Matplotlib-style fill_between with string color. y1 is required
(matching matplotlib); y2 defaults to zero.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y1(:) | ||
| real(kind=wp), | intent(in), | optional | :: | y2(:) | ||
| logical, | intent(in), | optional | :: | where(:) | ||
| character(len=*), | intent(in), | optional | :: | color | ||
| real(kind=wp), | intent(in), | optional | :: | alpha | ||
| logical, | intent(in), | optional | :: | interpolate | ||
| character(len=*), | intent(in), | optional | :: | step |
RGB-color variant of fill_between. Same positional layout as the
string variant; color keyword type distinguishes the two.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y1(:) | ||
| real(kind=wp), | intent(in), | optional | :: | y2(:) | ||
| logical, | intent(in), | optional | :: | where(:) | ||
| real(kind=wp), | intent(in) | :: | color(3) | |||
| real(kind=wp), | intent(in), | optional | :: | alpha | ||
| logical, | intent(in), | optional | :: | interpolate | ||
| character(len=*), | intent(in), | optional | :: | step |
Display 2D array as an image (heatmap)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | z(:,:) | ||
| character(len=*), | intent(in), | optional | :: | cmap | ||
| real(kind=wp), | intent(in), | optional | :: | alpha | ||
| real(kind=wp), | intent(in), | optional | :: | vmin | ||
| real(kind=wp), | intent(in), | optional | :: | vmax | ||
| character(len=*), | intent(in), | optional | :: | origin | ||
| real(kind=wp), | intent(in), | optional | :: | extent(4) | ||
| character(len=*), | intent(in), | optional | :: | interpolation | ||
| character(len=*), | intent(in), | optional | :: | aspect |
Create a pie chart
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | values(:) | ||
| character(len=*), | intent(in), | optional | :: | labels(:) | ||
| character(len=*), | intent(in), | optional | :: | colors(:) | ||
| real(kind=wp), | intent(in), | optional | :: | explode(:) | ||
| character(len=*), | intent(in), | optional | :: | autopct | ||
| real(kind=wp), | intent(in), | optional | :: | startangle |
Create a stem plot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in), | contiguous | :: | x(:) | ||
| real(kind=wp), | intent(in), | contiguous | :: | y(:) | ||
| character(len=*), | intent(in), | optional | :: | linefmt | ||
| character(len=*), | intent(in), | optional | :: | markerfmt | ||
| character(len=*), | intent(in), | optional | :: | basefmt | ||
| character(len=*), | intent(in), | optional | :: | label | ||
| real(kind=wp), | intent(in), | optional | :: | bottom |
Activate a secondary y-axis that shares the x-axis but renders on the right
Activate a secondary x-axis that shares the y-axis but renders on the top