Box plot implementation module
Extracted from fortplot_figure_core to meet QADS size limits. Provides box plot creation and data range updating.
Add a box plot to the plot array
Type | Intent | Optional | 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 |
Update data ranges based on boxplot statistics
Type | Intent | Optional | 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 |