SET DISPLAY

From STX Wiki
Jump to navigationJump to search

This chapter documents the SET display family of commands applicable to STx DISPLAY items (i.e. shell items of type DISPLAY).

SET display subcommand

For a list of DISPLAY item attributes, see DISPLAY Item Attributes. For a short first introduction into the matter of DISPLAY items, see Introducing Display Items.

Graph Control

The following commands are used to set the height and width of the window in which a graph is displayed, as well as assigning the graph itself.

GRAPH

SET display GRAPH graphitemname

Activate a graph attached to the display. The activated graph gets the keyboard focus.

HEIGHT

SET display HEIGHT h1 [.. hNrows]

Set the height of all graph rows relative to one another. The height of the display window and of the dialog is not changed. E.g. SET display HEIGHT 1 1 2 sets the height of row three to the double of the height of rows one and two.

hX
The relative height of the row X (1 .. number of rows).

WIDTH

SET display WIDTH row|* left right

Set the width of the columns of the specified row (row ³ 0) or all split rows (row = *). The column splitter position is computed using:

pos = left / (left + right) . display_window_width.

left
The relative width of the left column (left >= 0).
right
The relative width of the right column (right >= 0).

Graph defaults

The following settings are not directly used by the display. They define the default settings for graphs which are created after the display. For a detailed description see the section SET GRAPH. Only the argument title (of SET display TITLE) is actually used by the display as the window caption (the text in the top left corner of the window).

SET display AXIS xLabel yLabel labelFont labelColor xTitle yTitle titleFont titleColor xUnit yUnit xBorder yBorder
SET display FRAME xscale yscale scalecolor grid gridcolor xsteps ysteps major minor
SET display MARKERS mode auto font color msfont mslincol msfillcol mstextcol
SET display BGCOLOR text draw<
SET display TITLE mode font color [title]

Navigation menu

Personal tools