fortplot_figure_render_engine Module

Shared rendering engine for figure outputs.

Centralises single-axis and subplot rendering so the functional and object-oriented APIs share identical drawing behaviour.



Subroutines

public subroutine figure_render(state, plots, plot_count, annotations, annotation_count, subplots_array, subplot_rows, subplot_cols)

Render a figure, handling both single-axis and subplot layouts.

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout) :: plots(:)
integer, intent(in) :: plot_count
type(text_annotation_t), intent(in), optional :: annotations(:)
integer, intent(in), optional :: annotation_count
type(subplot_data_t), intent(in), optional :: subplots_array(:,:)
integer, intent(in), optional :: subplot_rows
integer, intent(in), optional :: subplot_cols