fortplot_figure_boxplot Module

Box plot implementation module

Extracted from fortplot_figure_core to meet QADS size limits. Provides box plot creation and data range updating.



Subroutines

public subroutine add_boxplot(plots, plot_count, data, position, width, label, show_outliers, horizontal, color, max_plots)

Add a box plot to the plot array

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(inout), allocatable :: plots(:)
integer, intent(inout) :: plot_count
real(kind=wp), intent(in) :: data(:)
real(kind=wp), intent(in), optional :: position
real(kind=wp), intent(in), optional :: width
character(len=*), intent(in), optional :: label
logical, intent(in), optional :: show_outliers
logical, intent(in), optional :: horizontal
character(len=*), intent(in), optional :: color
integer, intent(in) :: max_plots

public subroutine update_boxplot_ranges(data, position, x_min, x_max, y_min, y_max, x_range_set, y_range_set)

Update data ranges based on boxplot statistics

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(inout) :: x_range_set
logical, intent(inout) :: y_range_set