fortplot_figure_ranges Module

Figure data range management functionality Extracted from fortplot_figure_core.f90 for size reduction (SRP compliance)



Subroutines

public subroutine update_figure_data_ranges_pcolormesh(plots, plot_count, xlim_set, ylim_set, x_min, x_max, y_min, y_max)

Update data ranges after adding pcolormesh plot

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count
logical, intent(in) :: xlim_set
logical, intent(in) :: ylim_set
real(kind=wp), intent(inout) :: x_min
real(kind=wp), intent(inout) :: x_max
real(kind=wp), intent(inout) :: y_min
real(kind=wp), intent(inout) :: y_max

public subroutine update_figure_data_ranges_boxplot(data, position, x_min, x_max, y_min, y_max, xlim_set, ylim_set)

Update data ranges after adding boxplot - delegate to specialized module

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: data(:)
real(kind=wp), intent(in), optional :: position
real(kind=wp), intent(inout) :: x_min
real(kind=wp), intent(inout) :: x_max
real(kind=wp), intent(inout) :: y_min
real(kind=wp), intent(inout) :: y_max
logical, intent(in) :: xlim_set
logical, intent(in) :: ylim_set