fortplot_figure_core_ranges Module

Figure data range management module

This module contains data range calculation methods extracted from fortplot_figure_core for architectural compliance

ARCHITECTURAL REFACTORING (Issue #678): - Focused module for data range management - Single Responsibility Principle compliance - Clean separation from main figure functionality



Subroutines

public subroutine update_data_ranges_figure(plots, state, plot_count)

Update data ranges based on current plot

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)
type(figure_state_t), intent(inout) :: state
integer, intent(in) :: plot_count

public subroutine update_data_ranges_pcolormesh_figure(plots, state, plot_count)

Update data ranges after adding pcolormesh plot

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)
type(figure_state_t), intent(inout) :: state
integer, intent(in) :: plot_count

public subroutine update_data_ranges_boxplot_figure(data, position, state)

Update data ranges after adding boxplot

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: data(:)
real(kind=wp), intent(in), optional :: position
type(figure_state_t), intent(inout) :: state