|VCS Scripts: Scripting Display Attributes: D_name|
Every entry in the Display table is used to create a display page. A single Display table entry uses the primary elements (consisting of data, picture template, and graphics method) to create a picture, which is made up of segments.
Each picture is assigned a priority, where the picture with the highest value is displayed on top of all others. In addition, each picture segment has a separate priority. The total priority p is computed from
p = (picture priority + segment priority)/1000.
The range of priorities is between 0 and 1. If the value ofp is greater than 1, it is set to 1.
The selected Array Data attribute set defines the data to be displayed as well as related descriptive information. The variables (or array data attributes) can either be selected from a file, or computed as a function of previously selected variables.
The selected Picture Template attribute set defines where and how to display all segments, except for the legend and the data.
The selected Graphics Method attribute set defines the legend and determines how the data will be graphically represented. There is a table of attribute sets for each valid graphics method name that can be referenced by type. For VCS, the valid graphics method names are: Boxfill, Continents, Isofill, Isoline, Outfill, Outline, Scatter, Vector, XvsY, Xyvsy, and Yxvsx.
A Display table entry, defined by the assignment statement below, can be used to specify a table entry or to change some or all of the attributes in an existing table entry.
priority=priority for the picture,
type=graphics method name,
off=true or false (1 or 0),
p_name=picture template attribute set name,
g_name=graphics attribute set name in the table defined by type,
The square brackets [ ] below indicate that the number of array data attribute sets can vary. The number required and their dimensionality are determined by the graphics method name.
[,a=first array data attribute set name
[, b=second array data attribute set name
[, c=third array data attribute set name
[, d=fourth array data attribute set name
[, e=fifth array data attribute set name
[, f=sixth array data attribute set name] ] ] ] ] ]
). End of the Display attributes.
An example of a Display script follows: