Maxima Function
boxplot (data)
boxplot(data,option_1,option_2,...)
This function plots box diagrams. Argument data can be a list, which is not of great interest, since these diagrams are mainly used for comparing different samples, or a matrix, so it is possible to compare two or more components of a multivariate statistical variable. But it is also allowed data to be a list of samples with possible different sample sizes, in fact this is the only function in package descriptive
that admits this type of data structure. See example bellow. These are the options,
'outputdev
, default "x"
, indicates the output device; correct values are "x"
, "eps"
and "png"
, for the screen, postscript and png format files, respectively.
'maintitle
, default ""
, is the main title between double quotes.
'axisnames
, default ["sample", "y"]
, is a list with the names of axis x
and y
.
'picturescales
, default [1.0, 1.0]
, scaling factors for the size of the plot.
Examples:
(%i1) load (descriptive)$ (%i2) load (numericalio)$ (%i3) s2 : read_matrix (file_search ("wind.data"))$ (%i4) boxplot (s2, 'maintitle = "Windspeed in knots", 'axisnames = ["Seasons", ""])$ (%i5) A : [[6, 4, 6, 2, 4, 8, 6, 4, 6, 4, 3, 2], [8, 10, 7, 9, 12, 8, 10], [16, 13, 17, 12, 11, 18, 13, 18, 14, 12]]$ (%i6) boxplot (A)$