1 Language GTVL\ Language Summary CHANGE : Change some attributs of the plot CLEAR Arg : Clear some (parts of) the plot or windows. COMPRESS : Remove invisible parts of the plot. CREATE Arg : Create directory, windows or LUTs DEVICE : Open the graphic device DISPLAY : List some parameters of the plot EXPORT File : Save part of the plot to metacode file, for further use HARDCOPY : Get a printed copy of the plot IMPORT File : Insert an external plot into the current one LUT [arg] : Change the color Look-Up-Table REPLICATE : Copy a directory to another place ZOOM : ZOOM or REFRESHES the plot (possibly in another window) 1 CHANGE [GTVL\]CHANGE Item SegName Value [Val2 [Val3]] Change some attribute of the Graphic Library. Three items concern the current directory and active windows: - CHANGE DIRECTORY DirName [WinNum] change the default directory to DirName, and optionally the active window number to WinNum (instead of 0) within this directory. - CHANGE WINDOW WinNum [NOREFRESH|REFRESH] change the active window number to WinNum, and optionally change its automatic refresh behaviour. - CHANGE ZOOM NEW|CURRENT change the default ZOOM command behaviour. - CHANGE CLEAR TREE|WHOLE change the default CLEAR PLOT command behaviour. Two items are image segment attributes: - CHANGE SCALING SegName LIN|LOG [Lcut [Hcut]] will change the transfer function for the specified image segment. - CHANGE BLANKING SegName BLACK | WHITE | Colour will change the colour of blanked pixels (if any) in the displayed image. Colour is a colour value as in PENCIL command (1-8). Other items are general segment attributes: WEIGHT, DASHED, COLOUR, DEPTH, VISIBILITY (ON or OFF). For these items, if SegName is a segment, only that segment is modified, but if it is a directory, all segments attached to this directory are modified accordingly. 2 SEGMENT_NAMES The 'SegName' used in all the CHANGE commands is formed by a name, given by the calling high-level program (usually a reminder of the command used), followed by an unique, incremental, number. To refer a particular segment, one uses the full name (as in CHANGE VISIBILITY CONTOUR:46 OFF). To refer to ALL the segments with the same name, omit the number (as in CHANGE VISIBILITY CONTOUR OFF). To refer to a range of segments, use a 'minus' sign in the range (as in CHANGE VISIBILITY CONTOUR:32-46 OFF). Segments names can be 'wildcarded' (an '*' can replace part of the beginning or the end of the segment name, as in CHANGE VISIBILITY *TOUR OFF). Trick: A reverse range of segments (as in CLEAR SEGMENT 32-12) is valid. In the particular case of the above example, it is equivalent to the command CHANGE VISIBILITY 32-12 CLEAR wich in turns tries to delete (as opposed to change the visibility) the segments (which is possible if segment 32 is the last segment plotted). 1 CLEAR CLEAR [Arg] CLEAR withous arguments clears the current plot and ask the user for confirmation. In non interactive session, it clears the plot without prompting. Please consult the following sections for the various CLEAR arguments: 2 ALPHA CLEAR ALPHA erases the alphanumeric screen alone, without affecting the plot on old graphic terminals. Under X-Window, the graphic screen created by the 'DEVICE' command is raised up. 2 DIRECTORY CLEAR DIRECTORY [DirName] makes the named directory (or by default the current directory) invisible. All the attached structure becomes invisible. Under X, the graphic screen is updated, elsewhere use the command ZOOM REFRESH to do it. Note that the directory is not destroyed: you can recover it by a CHANGE VISIBILITY command. 2 GRAPHIC CLEAR GRAPHIC lowers the graphic windows, popping up the alpha screen (X window only). 2 PLOT CLEAR PLOT destroys the current tree or the whole plot, and clears the graphic screen accordingly. The default behaviour can be controlled by command CHANGE CLEAR. 2 SEGMENT CLEAR SEGMENT destroys the last graphic segment, i.e. the part of the plot corresponding to the last graphic command. Can be used repetitively. The Graphic screen is updated under X-Window, elsewhere use command ZOOM REFRESH to do it. CLEAR SEGMENT SegName makes the named segment invisible. One can erase a range of graphic segments in a single command by typing a range of segment numbers, as in CLEAR SEGMENT 24-16. The use of reverse range (24-16) forces the graphic library to actually delete the segment, if possible, instead of making it invisible. See command GTVL\CHANGE for details. 2 TREE CLEAR TREE clears the current tree only, leaving all other parallel trees intact. All associated windows are destroyed, and the tree is is recreated empty, with a single attached window. If only one tree exist, a CLEAR WHOLE is performed. 2 WHOLE CLEAR WHOLE destroys the whole plot. On X-Window displays, all windows are destroyed, and a new window is recreated for the first tree. Other trees are destroyed. 2 WINDOW CLEAR WINDOW windownumber deletes the current graphic window (if possible). Only supported on multi-window displays (X-Window). 1 COMPRESS [GTVL\]COMPRESS Compress the internal metacode, by removing (definitely) all invisible segments and directories. 1 CREATE [GTVL\]CREATE Argum Value - CREATE DIRECTORY PathName Create a new directory. PathName syntax follows "Unix-like" pathnames, with the use of token '<' instead of '/'. Constructs like ..