TEXTCOLOR Mnemonic - Set SYSGUI Text Color

Syntax

'TEXTCOLOR'(colornum)
'TEXTCOLOR'("colorname")
'TEXTCOLOR'(red_val,green_val,blue_val)

Description

The 'TEXTCOLOR' mnemonic sets the color for text drawn with the 'PLOTTEXT' mnemonic. It does not affect the text in controls unless the 'COLORSET' is used.

Note: On displays with fewer than 16M colors, not all of the possible RGB values can be displayed accurately. In these instances, two things are possible: 1.) in some situations, a dither is employed to simulate the desired color; 2.) the closest match to the actual color is used. Because of these, some plots might not look as expected, especially if exotic colors are used. Color problems can be minimized or avoided by using the standard colors or by using only the RGB values that are even multiples of 64.

Parameter

Description

colornum

Color number from the table below.

"colorname"

Name of the color from the table below.

red_val,green_val,blue_val

RGB value.

 

Color

Number

BLACK

0

BLUE

1

RED

2

MAGENTA

3

GREEN

4

CYAN

5

YELLOW

6

WHITE

7

DKGRAY

8

GRAY

9

LTGRAY

10

An !ERROR=29 is returned if the colornum or RGB parameters are out of range or the entry in colornum does not evaluate to one of the specified strings.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing