void Histogram_gui::refresh_stats() { update_stats_value( 0, histogram_->data_count() ); // data count update_stats_value( 2, histogram_->mean() ); // mean update_stats_value( 3, histogram_->var() ); // variance update_stats_value( 10, histogram_->percentile( 1.0 ) ); // max update_stats_value( 11, histogram_->percentile( 0.75 ) ); //up. quartile update_stats_value( 12, histogram_->percentile( 0.5 ) ); // median update_stats_value( 13, histogram_->percentile( 0.25 ) ); //low quartile update_stats_value( 14, histogram_->percentile( 0.0 ) ); // min }
void QPplot_gui::refresh_stats() { update_stats_value( 2, qpploter_->data_count( QPplot::Xvar ) ); //var X data count update_stats_value( 3, qpploter_->mean( QPplot::Xvar ) ); // var X mean update_stats_value( 4, qpploter_->var( QPplot::Xvar ) ); // var X variance update_stats_value( 12, qpploter_->data_count( QPplot::Yvar ) ); // var Y data count update_stats_value( 13, qpploter_->mean( QPplot::Yvar ) ); // var Y mean update_stats_value( 14, qpploter_->var( QPplot::Yvar ) ); // var Y variance }