Polar projection rendering for polygon backends
Renders circular plot boundary, radial gridlines (spokes), angular gridlines (concentric circles), and angular tick labels.
Render circular boundary for polar plot
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| real(kind=wp), | intent(in) | :: | center_x | |||
| real(kind=wp), | intent(in) | :: | center_y | |||
| real(kind=wp), | intent(in) | :: | radius | |||
| real(kind=wp), | intent(in), | optional | :: | line_width | ||
| real(kind=wp), | intent(in), | optional | :: | color(3) |
Render radial gridlines (spokes) from center to boundary
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| real(kind=wp), | intent(in) | :: | center_x | |||
| real(kind=wp), | intent(in) | :: | center_y | |||
| real(kind=wp), | intent(in) | :: | radius | |||
| integer, | intent(in) | :: | n_spokes | |||
| real(kind=wp), | intent(in) | :: | theta_offset | |||
| logical, | intent(in) | :: | clockwise | |||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | alpha |
Render angular gridlines (concentric circles)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| real(kind=wp), | intent(in) | :: | center_x | |||
| real(kind=wp), | intent(in) | :: | center_y | |||
| real(kind=wp), | intent(in) | :: | r_max | |||
| integer, | intent(in) | :: | n_circles | |||
| real(kind=wp), | intent(in), | optional | :: | color(3) | ||
| real(kind=wp), | intent(in), | optional | :: | alpha |
Render angular tick labels around the polar plot boundary
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| real(kind=wp), | intent(in) | :: | center_x | |||
| real(kind=wp), | intent(in) | :: | center_y | |||
| real(kind=wp), | intent(in) | :: | radius | |||
| integer, | intent(in) | :: | n_ticks | |||
| real(kind=wp), | intent(in) | :: | theta_offset | |||
| logical, | intent(in) | :: | clockwise | |||
| real(kind=wp), | intent(in), | optional | :: | label_offset |
Render polar data as connected line segments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(plot_context), | intent(inout) | :: | backend | |||
| real(kind=wp), | intent(in) | :: | theta(:) | |||
| real(kind=wp), | intent(in) | :: | r(:) | |||
| integer, | intent(in) | :: | n | |||
| real(kind=wp), | intent(in) | :: | center_x | |||
| real(kind=wp), | intent(in) | :: | center_y | |||
| real(kind=wp), | intent(in) | :: | r_scale | |||
| real(kind=wp), | intent(in) | :: | theta_offset | |||
| logical, | intent(in) | :: | clockwise | |||
| real(kind=wp), | intent(in), | optional | :: | color(3) |