![]() |
SPIKE COLORName:
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 spike 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 spike colors. Up to 100 such spike 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 spike 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.
SPIKE COLORS BLACK ALL SPIKE COLORS ALL RED SPIKE COLORS SPIKE RGB COLORS 220 109 88 240 220 160 SPIKE RGB COLORS 220 109 88 ALL SPIKE RGB COLORS 220 109 88 240 220 160 SPIKE RGB COLORS 220 109 88 ALL
William S. Cleveland (1993), "Visualizing Data," Hobart Press.
2020/11: Support for RGB colors LET CARTER = DATA 66 30 11 43 44 41 35 82 54 36 LET REAGAN = DATA 26 54 84 47 51 51 52 14 36 55 LET X = DATA 1 2 3 5 6 7 8 10 11 12 . LET CART2 = -CARTER LET XJUNK = DATA 0.5 12.5; LET YJUNK = DATA 0 0 . TIC MARK LABEL FORMAT ALPHA YLIMITS 1 12 YTIC OFFSET 1 1 Y1TIC LABEL CONTENT DEMOCRATS INDEPENDENTS REPUBLICANS SP() ... EAST SOUTH MIDWEST WEST SP() BLACKS HISPANICS WHITES SP() MINOR Y1TIC MARK NUMBER 0 X1LABEL PERCENT XLIMITS -100 100 MAJOR XTIC MARK NUMBER 11 MINOR XTIC MARK NUMBER 1 XTIC MARK LABEL CONTENT 100 80 60 40 20 0 20 40 60 80 100 . LINE BLANK BLANK SOLID SPIKE ON ON OFF SPIKE THICKNESS 0.5 ALL SPIKE DIRECTION H ALL . SPIKE COLOR G25 G75 TITLE DEMONSTRATE GRAYSCALE SPIKE COLOR COMMAND PLOT X VS REAGAN AND PLOT X VS CART2 AND PLOT XJUNK YJUNK .
. SPIKE COLOR RED BLUE TITLE DEMONSTRATE SPIKE COLOR COMMAND PLOT X VS REAGAN AND PLOT X VS CART2 AND PLOT XJUNK YJUNK .
. SPIKE RGB COLORS 220 109 88 240 220 160 TITLE DEMONSTRATE SPIKE RGB COLOR COMMAND PLOT X VS REAGAN AND PLOT X VS CART2 AND PLOT XJUNK YJUNK
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/26/2021 |