Include the COLORBANDSATTRS= option in your DISCRETEOPTS= option list to
specify the fill color and transparency of the bars. You can specify either a style element
or a list of fill options. If you specify fill options, you must enclose the options in
parenthesis.
T I PYou can add a border around the color bands by including the
TICKTYPE=INBETWEEN option in the DISCRETEOPTS= option list and the
GRIDDISPLAY=ON and GRIDATTRS= options in the XAXISOPTIONS= or
YAXISOPTIONS= options list.
Here is an example that adds alternating light-gray color bands to the discrete Y axis of a
plot. The bands begin on the second (even) interval.
proc template;
define ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.