manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.9.16 BoxPlot

These functions draw boxplot (also known as a box-and-whisker diagram) at points x[i] on plane z = zVal (by default z=Min.z). This is five-number summaries of data a[i,j] (minimum, lower quartile (Q1), median (Q2), upper quartile (Q3) and maximum) along second (j-th) direction. The sizes of 1st dimension must be equal for all arrays x.nx=a.nx. String pen specifies the color and style of line (see section Line styles). By default (pen="") solid line with color from palette is used (see section Pallete and colors). See also Plot, Error, Bars, Default sizes. See section BoxPlot sample, for sample code and picture.

Method on mglGraph (C++, Python): void BoxPlot (const mglData &x, const mglData &a, const char *pen="")
C function: void mgl_boxplot_xy (HMGL gr, const HMDT x, const HMDT a, const char *pen)

Draws a boxplot with specified values of coordinate x[i].

Method on mglGraph (C++, Python): void BoxPlot (const mglData &a, const char *pen="")
C function: void mgl_boxplot (HMGL gr, const HMDT a, const char *pen)

Draws a boxplot with x[i] values equidistantly distributed in interval [Min.x, Max.x].


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.