banner name on|off option=value [,option=value, ...]
The name of the banner. This can be either "top" or "bottom".
A boolean value indicating whether or not the banner is displayed.
A banner option. See table below.
A value associated with the matching option . See table below.
This field specifies where the banner appears in the visualization window. Note that the word "center" can be given in place of a real number. |
|||
This field specifies the height of the banner as a percentage of the visualization window height. |
|||
Color to use for banner. This is either a color name or a color index. Color Names |
The banner command allows banners, which are text strings, to be displayed in a visualization window. Only two banners can be placed in a visualization window and they are called "top" and "bottom". These banners are turned on or off by giving a boolean on or off flag after the name. The banner text is set using the text argument and has a maximum length of fifty characters. The banner can be positioned in the visualization window using the location argument. The location argument expects a list of two real numbers enclosed in curly braces. The real numbers given in the location argument specify the location of the banner's bottom left corner. These numbers are expressed as a percentage of the visualization window's height. The word "center" can be used in place of a number in the location argument. If that is done, the banner is centered in the specified dimension. The height argument controls the height of the banner. The height is specified as a percentage of the visualization window's height. Finally, the banner's color is set using the tc argument which takes either a color name or a color index.
banner "top" on, text="My Banner", tc=red
# Turn on the bottom banner and reposition it.