|
CHARACTER COLORSName:
PLOT Y2 X2 has two traces. The first is the points defined by Y1 and X1 and the second is the points defined by Y2 and X2. Attributes can be set for up to 100 traces. Dataplot provides two methods for specifying colors.
When setting the character color, Dataplot first checks if the device supports RGB colors. If not, the named color will be used. If the device does support RGB color, Dataplot will check if an RGB color has been specified. If yes, then that RGB color is used. If not, the named color will be used. To see the list of supported named colors (with the associated index number), see https://www.itl.nist.gov/div898/software/dataplot/refman1/ch11/homepage.htm
where <color 1>, ..., <color n> specify the desired character colors. Up to 100 such character colors may be specified.
<red-n> <green-n> <red-n> where <red-1>, <green-1>, <blue-1>, ..., <red-n>, <green-n>, <blue-n> is a list of integer values that specify the desired RGB character colors. Up to 100 such triplets of color values can be specified. To turn off the RGB color, set the values to -1 (any negative value will work). Values greater than 255 will be set to 255.
CHARACTER COLORS RED RED BLUE BLUE CHARACTER COLORS ALL YELLOW CHARACTER COLORS YELLOW ALL CHARACTERS COLORS CHARACTER RGB COLORS 220 109 88 240 220 160 CHARACTER RGB COLORS 220 109 88 ALL
2020/11: Support for RGB colors
. POLLUTION SOURCE ANALYSIS, LLOYD CURRIE, DATE--1990
. SUBSET OF CURRIE.DAT REFERENCE FILE
.
LET ID2 = DATA 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2
SERIAL READ LEAD
164 426 59 98 312 263 607 497 213 54 160 262 547 325 419 94 70
END OF DATA
SERIAL READ POT
106 175 61 79 94 121 424 328 107 218 140 179 246 231 245 339 99
END OF DATA
LET X = SEQUENCE 1 1 17
.
CHARACTER CIRCLE CIRCLE SQUARE SQUARE
CHARACTER FILL ON ALL
LINE BLANK ALL
LEGEND FONT SIMPLEX
LEGEND 1 CIRC() - POTASSIUM
LEGEND 2 SQUA() - LEAD
.
CHARACTER COLOR G10 G90 G10 G90
TITLE DEMONSTRATE GRAYSCALE CHARACTER COLOR COMMAND
PLOT POT X ID2 AND
PLOT LEAD X ID2
CHARACTER COLOR RED BLUE RED BLUE
TITLE DEMONSTRATE CHARACTER COLOR COMMAND
PLOT POT X ID2 AND
PLOT LEAD X ID2
CHARACTER RGB COLOR 175 238 238 220 20 60 175 238 238 220 20 60
TITLE DEMONSTRATE CHARACTER RGB COLOR COMMAND
PLOT POT X ID2 AND
PLOT LEAD X ID2
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/26/2021 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||