New matplotlib-compatible plot functions added for issue #1178 Includes: imshow, pie, polar, step, stem, fill, fill_between, twinx, twiny
Display 2D array as an image (heatmap)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | 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) | :: | 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 polar plot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | theta(:) | |||
| real(kind=wp), | intent(in) | :: | 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 | 
Create a step plot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) | |||
| real(kind=wp), | intent(in) | :: | 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 | 
Create a stem plot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) | |||
| real(kind=wp), | intent(in) | :: | 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 | 
Fill the area under a curve
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) | |||
| real(kind=wp), | intent(in) | :: | y(:) | |||
| character(len=*), | intent(in), | optional | :: | color | ||
| real(kind=wp), | intent(in), | optional | :: | alpha | 
Fill the area between two curves
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) | |||
| real(kind=wp), | intent(in), | optional | :: | 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 | 
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