Next: Candle sample, Previous: Chart sample, Up: 1D samples [Contents][Index]
Function boxplot draw box-and-whisker diagram. The sample code is:
int sample(mglGraph *gr) { mglData a(10,7); a.Modify("(2*rnd-1)^3/2"); gr->SubPlot(1,1,0,""); gr->Title("Boxplot plot"); gr->Box(); gr->BoxPlot(a); return 0; }