Main Features of Shared Variables

Here are the main features of shared variables:
  • Shared variables enable you to easily reuse a graph with different data.
  • Shared variables can be used in single-cell graphs and in multi-cell graphs, including classification panels.
  • You can change one or more variables for all plots at one time, including plots that are in different cells of a multi-cell graph.
  • Shared variables are most effective for creating graphs that have many plots and that use very few (one or two) variables. The graph shown in Three-Cell Distribution Graph is a good example because it has several plots and uses just one variable.
  • You can run shared-variable graphs in batch mode by using the SGDESIGN procedure. You can specify different variables in the same or in a different data set by using the DYNAMIC option.
    You can also use the DYNAMIC option to generate dynamic text, such as a title, that changes depending on the data that is used to generate the graph. For more information about dynamic content in text, see Adding Dynamic Content to Text.