fortplot_plot_statistics Module

Statistical plotting functionality

Provides: - Histograms with automatic binning - Box plots with quartile calculations - Statistical computations (quantiles, outliers) - Density normalization for histograms



Subroutines

public subroutine hist_impl(self, data, bins, density, label, color)

Add histogram

Arguments

Type IntentOptional Attributes Name
class(figure_t), intent(inout) :: self
real(kind=wp), intent(in) :: data(:)
integer, intent(in), optional :: bins
logical, intent(in), optional :: density
character(len=*), intent(in), optional :: label
real(kind=wp), intent(in), optional :: color(3)

public subroutine boxplot_impl(self, data, position, width, label, show_outliers, horizontal, color)

Add boxplot

Arguments

Type IntentOptional Attributes Name
class(figure_t), intent(inout) :: self
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
real(kind=wp), intent(in), optional :: color(3)