Command interpreter reference and parameter file format


Introduction

ACE/gr provides a command line interface and the ability to save plot parameters in a file for later retrieval. The syntax for the command line interpreter and parameter files is the same. It is instructive to read a parameter file into the command line interpreter and press the `Replay' button to verify this feature.


Reference

Case is ignored by the command line interpreter.

Description of parameters:

color
integer value from 0 to 29.
string
double quote enclosed character string.
integer
any integer >= 0
number
any floating point value >= 0.0
expr
any expression (includes negative floating point values)
onoff
ON or OFF
torf
TRUE or FALSE
setnum
Set descriptor in the form Sn where n is the number of the set.
graphno
Graph descriptor in the form Gn where n is the number of the graph.
direction
One of UP, DOWN, LEFT, RIGHT, IN, OUT.
opchoice
One of TOP, BOTTOM, LEFT, or RIGHT.
formatchoice
One of:


EXIT

Abruptly leave ACE/gr.


Devices

In the discussion to follow, printer refers to one of:

Display


Set operations


Block data

The two block data commands allow block data to be read and sets formed from the

active set of block data.


Graph operations


Transformations


Autoscaling


Graph focus

Locator

Turn the locator on the front panel on or off.


IO


Boxes

NOTE: Boxes, used or not, are numbered from 0 to the maximum number of boxes. This is also true of lines and strings.


Lines

ACE/gr uses an array of a data type called lines internally to hold the definition of lines. The actual construction of this data type is not important, but it is important to note that lines, used or not, are numbered from 0 to the maximum number of lines.


Strings

ACE/gr uses an array of a data type called plotstr internally to hold the definition of strings. The actual construction of this data type is not important, but it is important to note that strings, used or not, are numbered from 0 to the maximum number of strings.


World


Viewport


Title and subtitle


Sets

Setnum, in the following descriptions, refer to the symbolic name of each set, i.e., the letter `s' followed by the integer number of the set. S0 would refer to set 0, s1 to set 1, etc. The following commands for setting set parameters have two prefixes, GRAPHS and SETS, that allow the setting to be made for all graphs, all sets, or a given set in all graphs. So, to set the line width for set 0 to be 3 in all graphs that have a set 0 active, the command would be:

graphs s0 linewidth 3

Likewise, to set the line width for all sets in the current graph, give the command:

sets linewidth 3

To set the line width for all sets in all graphs to 3, execute:

graphs sets linewidth 3


Legend


Graph frame


Graph axes

The are two axes in each coordinate direction. In the case of the X coordinate direction, there is one that follows the world scaling, one at Y = 0 and another that may be used to display an alternate scale. The names used by ACE/gr to refer to these axes are, XAXIS, ZEROXAXIS, respectively. Likewise along Y there is the YAXIS, ZEROYAXIS. There are names that can be used to refer to all the axes along a coordinate direction or to both directions or to all graphs, these being AXES (both coordinate directions, current graph), XAXES (along X in the current graph), YAXES (along Y in the current graph), and preceeding these with the key word GRAPHS, will cause the setting to be made throughout all the active graphs. In the following descriptions, axis refers to the choices described above.


Tick marks


Tick labels


Axes label strings


Graphs