|
LINE 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 line 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 line colors. Up to 100 such line 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 line 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.
LINE COLORS BLUE BLUE YELLOW YELLOW LINE COLORS ALL RED LINE COLORS RED ALL LINE COLORS LINE RGB COLORS 220 109 88 240 220 160 LINE RGB COLORS 220 109 88 ALL
2020/11: RGB color support added . POLLUTION SOURCE ANALYSIS, LLOYD CURRIE, DATE--1990 . SUBSET OF CURRIE.DAT REFERENCE FILE . 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 N = SIZE LEAD; LET X = SEQUENCE 1 1 N . LINE COLOR G20 G80 TITLE DEMONSTRATE GRAYSCALE LINE COLOR PLOT POT LEAD VS X
. LINE COLOR BLUE RED TITLE DEMONSTRATE LINE COLOR PLOT POT LEAD VS X
. LINE RGB COLOR 175 238 238 220 20 60 TITLE DEMONSTRATE LINE RGB COLOR PLOT POT LEAD VS X
|