The DEP
subop is used to specify dependent variables to SST commands.
The DOMAIN
subop is used to specify the domain of a single or
multivariable function. The name of a parameter is given first,
followed by the range of values which that parameter can take. Some or
all of the parameters which specify the range may be missing. If the
character or characters which precede each value are present, the
corresponding value must also be present. The reserved words lo
and
hi
may be used in place of low-val
and high-val
to
indicate that parameter is unconstrained from below or above, respectively.
For multivariable functions, a domain entry should be given for each function parameter. The domain entries can be seperated by commas or spaces.
The BY
syntax is used in plot commands to establish the increment
employed for function evaluation. If BY
is absent in plot commands,
then the current global range size is used to get the number of evaluation
points. In SOLV
and other commands using DOMAIN
, the BY
syntax is ignored.
The FILE
subop is used to specify filenames to SST commands.
On DOS machines, FILE[prn:] directs output to the printer. On UNIX
machines, FILE[/dev/lpr] directs output to the printer.
The FUNC
subop is used to specify function names to SST commands.
The IF subop is used to modify the observations on which a command
operates. All observations for which expression
is 0 will be
removed from the active set of observations. This subop acts with the
OBS
subop and the current RANGE
command to determine the
active set of observations for a command.
To remove even numbered observations from the active set
IF[obsno % 2 == 1]
The IND
subop is used to specify independent variables to SST
commands.
The MACRO
subop is used to specify macro names to SST commands.
The MAT
subop is used to specify matrices to SST commands.
The OBS subop is used to modify the observations on which a command
operates. All observations not listed in observation list
will
be removed from the active set of observations. This subop acts with
the IF
subop and the current RANGE
command to determine
the active set of observations for a command.
If DATE
is specified, then all subsequent arguments to OBS
must be in the "period : subperiod" syntax discussed under DATE
.
To include only observations 5 through 10 and observation 16
OBS[5-10, 16]
The PARM
subop can be used to change characteristics of a plot created
with the SCAT
, PLOT
, HIST
or BOXPLOT
commands.
PARM
takes a list of options separate by spaces or commas.
min
and
max
these limits will be used as the endpoints for the horizontal
axis. If quanta
and subquanta
are specified, then tickmarks
and subtickmarks will be placed at the specified intervals instead of the
default interval which is calculated based on the limits.
Size
should be a number between 0 and 1.
Offset
should be a number between 0 and 1.
The plot must also be scaled to fit on the screen using the
h
and w
option.
compress
is specified, SST removes missing data before
plotting. If nocompress
is specified, missing data causes
connected lines to be broken. Observations masked by the local sample
vector (RANGE
, IF
and OBS
) is always removed before
plotting. The default is compress
.
nomat
) or on a matrix of graphs (default = mat
).
mark
). If the connect option
is not specified this option is ignored.
nomat
is used. For example,
POINT_STYLE ^*\# gives a triangle, a star, and a box to denote the points
for the first three variables.
rl
is specified, a regression line will be drawn for each
scatter plot (default = nrl
).
The PRINT
subop can be used in some versions of SST to cause
plotting commands to send output directly to a printer. When the
subop PRINT is added to the graphics line, SST will attempt to send
its graphics output directly to the printer.
The command used to print graphical output is system dependent. Under
MS-DOS, the default is to automatically invoke the sstjet.exe
program; this causes the intermediate device independent output to be
processed and sent to device PRN. For unix versions of SST, the
lpr
command is used.
The default printing command can be overridden using the SSTPRT
environment variable. If set, this variable should contain the name of
a program which accepts graphics output and processes it appropriately.
The format of the graphics output is determined by the graphics terminal
type (set by the TERM
subop).
SSTPRT
to be the
program sstprt.com
which contains the single line:
$ imprint/ultrascript 'p1This causes graphics images to be automatically sent to an Imagen postscript laserprinter. In this case we need to define the graphics type to be postscript (using
TERM[psc]
).
SSTPRT
to be
lpr -h
to avoid the printing of the header page.
By default, SST plotting commands use the entire screen for their
output. The SIZE
subop can be used to cause the output to be
placed in a rectangular portion of the screen. The rectangle is
specified by giving the coordiantes of the lower left and upper right
corners. These coordinates must lie in the range 0 to 1. The
coordinates of 0, 0, 1, 1
specify the entire screen and are
equivalent to omitting the SIZE
subop.
The SIZE
subop can be used with the FIGURE
command to
place multiple plots on a single screen.
The TERM
subop can be used to set the terminal type used for SST
graphics output. If no TERM
subop is given for a graphics
command SST will look at the value of the SSTTERM environment variable
(if it is present) or default to the dumb
device type. The
terminal type can be set within SST using the CONFIG
command.
Not all device types are supported on all systems. The following types are defined:
sstplt.dvi
is used.
jet+
terminal type can be used for the HP laserjet+ to improve resolution.
FILE
subop.
The time subop causes the time spent executing a command to be printed when the command terminates. It can be used on any SST command.
The TO
subop is used to specify variables to many SST commands.
The main difference between the VAR
and the TO
subop is that
variables that do not exist will be created.
The VAR
subop is used to specify variables to many SST commands.
The simplest type of variable list consists of a list of variable names
separated by spaces or commas.