ODS Graphics software
enables you to control the appearance of different parts of a graph
without changing the overall style. For example, you can change the
visual attributes of lines, bars, markers, text, and so on. These
changes are limited to the current graph.
Each graphics element
of a plot, such as a marker or a line, derives its visual attributes
from a specific style element from the active style. Within a given
style, the style elements give you more granular control of a graph's
visual elements.
In general, there are
two ways to change the appearance of a graphics element:
-
You can specify a different style
element for the graphics element. For example, a density curve uses
the default GraphFit style element for its visual attributes. You
might instead specify the GraphFit2 style element.
-
You can change one or more attributes
of a style element. For example, you might explicitly change the color
of a density curve to red.
It is recommended that
you specify style elements rather than explicit attributes whenever
possible. The attributes of a style element are chosen to provide
consistency and appropriate emphasis based on display principles for
statistical graphics. When you specify a particular attribute, you
override the style element. You might create a graph that is inconsistent
with the style. If you later change the style for the graph, your
override remains in effect and could clash with the new style.
Note: For bar charts, you also
have the option to specify one of several bar skins. This option provides
an easy way to enhance the appearance of the bars. The option is supported
in the Graph Template Language, in the ODS Graphics procedures, and
in the ODS Graphics Designer.
The following sections
describe the options for changing the appearance of graphics elements
in the ODS Graphics software.