The default pattern that the GBARLINE procedure uses
is a solid fill. The default colors are determined by the current
style and the device.
By default, the system
option GSTYLE is in effect. As a result, the procedure generates output
using the style's default bar fill colors, plot line colors, widths,
symbols, patterns, and outline colors. Specifically, the GBARLINE
procedure uses the default values when you do not specify any of the
following:
-
-
the CPATTERNS= graphics options
-
the COLORS= graphics options
-
the COUTLINE= option in the BAR
statement
-
If you do not specify
any of these statements or options, then the GBARLINE procedure performs
the following operations:
-
selects the first default fill
pattern, which is always solid, and rotates it through the list of
colors available in the current style, generating one solid pattern
for each color. When the solid patterns are exhausted, the procedure
selects the next default subgroup bar pattern (empty) and rotates
it through the appropriate set of colors. It continues in this fashion
until all of the required patterns have been assigned.
If you use the default
style colors and the first color in the list is either black or white,
the procedure does not create a pattern in that color. If you specify
a color list with the COLORS= graphics option, then the procedure
uses all the colors in the list to generate the patterns.
-
uses the style's outline color
to outline every patterned area.
-
uses the style's default symbol
for the initial PLOT statement points. The procedure uses the second
default symbol for the next PLOT statement, and the third default
symbol for the next PLOT statement. The procedure continues orderly
through the set of symbols belonging to that style until all the PLOT
statements have been satisfied.
-
connects all the plot symbols with
a solid line.
If you specify the NOGSTYLE
system option, the fill pattern is solid and the color comes from
the device's color list. The GBARLINE procedure uses a solid fill
for the bars that it rotates once through the device's default color
list, skipping the foreground color. (Typically, the foreground color
is the first color in the device's color list.) Suppose no SYMBOL
or PATTERN statements are in effect and the COLORS= option is not
used in the GOPTIONS statement. In this case the plot line colors
begin with the next color from the same color list used to color the
bars. By doing this, the procedure prevents the plot line from being
the same color as a bar fill. Specifically, GBARLINE performs the
following operations:
-
selects the first default fill,
which is always solid, and rotates it through the color list, generating
one solid pattern for each color. If the first color in the device's
color list is black (or white), the procedure skips that color and
begins generating patterns with the next color.
-
uses the foreground color to outline
every patterned area.
-
selects the next default pattern
fill (if it needs additional patterns), and rotates that pattern
through the color list, skipping the foreground color as before.
The procedure continues in this fashion until it has generated enough
patterns for the chart.
-
uses the device's default color
to outline every patterned area.
-
selects the next color in the list
after the last bar color and uses it to draw the first PLOT statement
symbol and connecting line.
-
rotates through the color list
for any subsequent PLOT statements.
If the procedure needs
additional patterns, PROC GBARLINE selects the next default pattern
fill (empty) and rotates it through the color list, skipping the foreground
color as before. The procedure continues in this fashion until it
has generated enough patterns for the chart.
You might change or
override the default behavior for patterns if you specify a color
list with the COLORS= option in a GOPTIONS statement. For example,
if the COLORS= list contains more than one color, then the procedure
rotates the default solid pattern through that list. It uses every
color, even if the foreground color is black (or white). The default
outline color remains the foreground color or the color specified
by the current style.