Discrete line-contour colorbars with Matplotlib's uniform level spacing.
Value-aware precision also retains fractional offsets and tiny values.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | value | |||
| real(kind=wp), | intent(in) | :: | ticks(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| logical, | intent(in) | :: | vertical | |||
| real(kind=wp), | intent(in) | :: | levels(:) | |||
| character(len=*), | intent(in) | :: | colormap | |||
| real(kind=wp), | intent(in) | :: | line_width |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | levels(:) | |||
| real(kind=wp), | intent(in) | :: | ticks(:) | |||
| real(kind=wp), | intent(out), | allocatable | :: | positions(:) |
Match Matplotlib's FixedLocator(levels, nbins=10), including its phase.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | levels(:) | |||
| real(kind=wp), | intent(out), | allocatable | :: | ticks(:) |
Use a private sorted/unique view; preserve accepted native plot inputs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(plot_data_t), | intent(in) | :: | plot | |||
| real(kind=wp), | intent(out), | allocatable | :: | levels(:) |