BOXPLOT Procedure

Creates a standard box plot.

Usage

  • BOXPLOT, data

Input Parameters

data—A list of vectors.

Keywords

Width—The width of the boxes. A width of 1 will result in boxes that touch each other. (Default = 0.5)

Linecolor—The color of the lines in the plot. (Default = 1)

Fillcolor—The color to fill the boxes with. (Default = 15)

Background—The background color. (Default = 0)

Foreground—The foreground axis color. (Default = 1)

Whisker—If set, only vertical whiskers are drawn (no fences or extreme values are plotted).

Fence—If set, the vertical whiskers and fences are drawn (no extreme values are plotted).

Diamond—If set, diamonds are drawn instead of rectangles for the boxes.

Boxinfo—(Output) An array of structures containing information about each box; most values are computed by the IQR function.

Mean—If set, a line is drawn for the mean value.

Mcolor—The color of the line marking the mean value. (Default = 2)

Join—If set, the mean values are joined with a line.

Annotate—If set, the mean value is annotated.

Scolor—The color of the symbols for outside values (Default = 5)

Spsym—The symbol to use for outside values (Default = 8, circles)

Extreme—If set, plot the extreme points using a different symbol.

Ecolor—The color of the symbols for extreme values. (Default = 5)

Epsym -The symbol to use for extreme values. (Default = 8, filled circles)

Additional keywords are listed below. For a description of each keyword, see Graphics and Plotting Keywords.

Charsize

Font

Gridstyle

Linestyle

Noerase

Subtitle

Symsize

Thick

Tickformat

Ticklen

Title

XTickname

XTitle

YLabelcenter

YMinor

YRange

XTickformat

YTickname

YTicks

YTickv

YTitle

 

 

 

Example

TEK_COLOR
data= LIST(RANDOMN(s0,5),RANDOMN(s1,50),RANDOMN(s2,500), $
RANDOMN(s3,5000))
BOXPLOT, data, /Mean