|
LEGEND COLORName:
The legend colors hold for all subsequent plots until defaulted (via the LEGEND ... COLOR command with no arguments) or until overridden with new legend colors. Dataplot provides two methods for specifying colors.
When setting the legend RGB 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 <id> is an integer number or parameter in the range 1 to 100 that specifies the legend identifier; and <color> is the desired legend color.
where <id> is an integer number or parameter in the range 1 to 100 that specifies the legend identifier; <red> is a number or parameter that specifies the red component; <green> is a number or parameter that specifies the green component; <blue> is a number or parameter that specifies the blue component. 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.
LEGEND 2 COLOR BLACK LEGEND 1 COLOR LEGEND COLOR LEGEND 1 RGB COLOR 220 109 88 LEGEND 2 RGB COLOR 175 238 238
2020/10: 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 . CHARACTER X1 X2 Y1 Y2 CHARACTER COLOR RED RED BLUE BLUE LINE BLANK ALL LEGEND 1 X - POTASSIUM LEGEND 2 Y - LEAD LEGEND 1 COLOR RED LEGEND 2 COLOR BLUE . TITLE DEMONSTRATE LEGEND COLOR COMMAND LET X = SEQUENCE 1 1 17 PLOT POT X ID2 AND PLOT LEAD X ID2Program 2: . 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 . CHARACTER X1 X2 Y1 Y2 CHARACTER COLOR RED RED BLUE BLUE LINE BLANK ALL LEGEND 1 X - POTASSIUM LEGEND 2 Y - LEAD LEGEND 1 COLOR RED LEGEND 2 COLOR BLUE LEGEND 1 RGB COLOR 220 109 88 LEGEND 2 RGB COLOR 175 238 238 . TITLE DEMONSTRATE LEGEND RGB COLOR COMMAND LET X = SEQUENCE 1 1 17 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: 05/13/2021 |