Full Command and Function Reference 3-23
Access: …ãBIN ( ãis the right-shift of the 3key).
Flags: Binary Integer Wordsize (–5 through –10), Binary Integer Base (–11, –12)
Input/Output: None
See also: DEC, HEX, OCT, STWS, RCWS
BINS
Type: Command
Description: Sort into Frequency Bins Command: Sorts the elements of the independent column (XCOL) of
the current statistics matrix (the reserved variable ΣDAT) into (n
bins
+ 2) bins, where the left edge
of bin 1 starts at value x
min
and each bin has width x
width
.
BINS returns a matrix containing the frequency of occurrences in each bin, and a 2-element
array containing the frequency of occurrences falling below or above the defined range of x-
values. The array can be stored into the reserved variable ΣDAT and used to plot a bar
histogram of the bin data (for example, by executing BARPLOT).
For each element x in ΣDAT, the nth bin count n
freq bin n
is incremented, where:
n
freqbinn
IP
xx
min
–
x
width
-------------------
=
for x
min
£ x £ x
max
, where x
max
= x
min
+ (n
bins
)(x
width
).
Access: …µ
BINS
Input/Output:
L3/A1 L2/A2 L1/A3 L2/I1 L1/I2
x
min
x
width
n
bins
→
[[ n
bin 1
... n
bin n
]] [ n
bin L
n
bin R
]
L = Level; A = Argument; I = item
See also: BARPLOT, XCOL
BLANK
Type: Command
Description: Blank Graphics Object Command: Creates a blank graphics object of the specified width and
height.
Access: !°L
GROB BLANK ( °is the left-shift of the Nkey).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
#n
width
#m
height
→
grob
blank
See also: →GROB, LCD→
BOX
Type: Command Operation
Description: Box Command: Draws in PICT a box whose opposite corners are defined by the specified pixel
or user-unit coordinates.
Access: !°L
PICT BOX ( °is the left-shift of the Nkey).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
{ #n
1
#m
1
} { #n
2
#m
2
}
→
(x
1
, y
1
) (x
2
, y
2
)
→