![]() |
BOX PLOTName:
The bottom x is the data minimum; the bottom of the box is the estimated 25% point; the middle x in the box is the data median; the top of the box is the estimated 75% point; the top x is the data maximum. The box plot has 24 components (characters and lines) which may be individually controlled. For the box plot to appear as it should, the BOX PLOT command is usually preceded by two commands--
LINES BOX PLOT which will automatically define proper values for the 24 components of the box plot. After the box plot is formed, the analyst should redefine plot characters and lines via the usual CHARACTERS and LINES commands.
where <y> is the response (= dependent) variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax generates a single box. Note that <y> can also be a matrix argument. If <y> is a matrix, a single box is drawn for all the values in the matrix.
where <y> is the response (= dependent) variable; <x> is an independent variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
<SUBSET/EXCEPT/FOR qualification> where <y1> ... <yk> is a list of response (= dependent) variables; and where the <SUBSET/EXCEPT/FOR qualification> is optional. Note that response variables can also be matrices. If a matrix name is encountered, a box will be drawn for all the values in the matrix.
<SUBSET/EXCEPT/FOR qualification> where <y> is the response (= dependent) variable; <x1> ... <xk> is a list of 1 to 6 group-id variables; and where the <SUBSET/EXCEPT/FOR qualification> is optional. The group-id variables are cross-tabulated and a box is drawn for each distinct combination of values for the group-id variables. These are sometimes referred to as nested box plots. For the REPLICATED case, you can control the spacing between groups. Internally, Dataplot uses the CODE CROSS TABULATE command to generate a single combined group-id variable. Enter HELP CODE CROSS TABULATE for details on the ordering of the cross-tabulation and on how to control the spacing (the SET commands used by CODE CROSS TABULATE are supported for the BOX PLOT command).
BOX PLOT Y X1 MULTIPLE BOX PLOT Y1 TO Y10 REPLICATED BOX PLOT Y X1 TO X4
If you want to generate fixed width box plots, enter the command
To restore variable width box plots, enter the command
2002/3: Support for fixed width box plot 2010/6: Support for TO syntax and matrix arguments 2010/6: Support for MULTIPLE and REPLICATED options SKIP 25 READ GEAR.DAT Y X . TITLE CASE ASIS TITLE OFFSET 2 LABEL CASE ASIS TITLE Box Plot for GEAR.DAT Y1LABEL Gear Diameter X1LABEL Batch . TIC MARK OFFSET UNITS DATA XLIMITS 1 10 MAJOR XTIC MARK NUMBER 10 MINOR XTIC MARK NUMBER 0 XTIC MARK OFFSET 1 1 YTIC MARK OFFSET 0.002 0.002 . LINES BOX PLOT CHARACTER BOX PLOT CHARACTER FONT SIMPLEX ALL FENCES ON BOX PLOT Y X ![]()
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 11/30/2010 |