fortplot_polar_rendering_helpers Module

Polar rendering helper procedures

Extracted from fortplot_figure_rendering_pipeline to reduce module size Single Responsibility: Polar axes and plot rendering helpers



Subroutines

public subroutine render_polar_axes(backend, x_min, x_max, y_min, y_max, state)

Render polar axes: circular boundary, radial spokes, angular circles, tick labels

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max
type(figure_state_t), intent(in) :: state

public subroutine render_polar_plot_internal(backend, plot, x_min, x_max, y_min, y_max, state)

Render polar plot data within the coordinate system The plot stores pre-converted Cartesian coordinates in x/y arrays but we use polar_theta/polar_r for proper polar rendering

Arguments

Type IntentOptional Attributes Name
class(plot_context), intent(inout) :: backend
type(plot_data_t), intent(in) :: plot
real(kind=wp), intent(in) :: x_min
real(kind=wp), intent(in) :: x_max
real(kind=wp), intent(in) :: y_min
real(kind=wp), intent(in) :: y_max
type(figure_state_t), intent(in), optional :: state