You are here: Commands > Set with No Preference Equivalents > Set Graph

Set Graph

Specifies the type of graph to be generated for graphable command output. All graphs created after Set Graph will be of the type you specify until you issue another Set Graph command.

Command Mode Syntax

SET GRAPH <type>

Example

The following command sets the graph type to a 3-D pie chart.

SET GRAPH PIE3D

Graph Types

To set a graph type, use one of the following keywords with Set Graph:

Keyword

Graph Type

PIE2D or PIE3D

2-D or 3-D pie graph

BAR2D or BAR3D

2-D or 3-D bar graph

STACKED2D or STACKED3D

2-D or 3-D stacked graph

LAYERED

3-D layered graph

LINE

2-D line graph

BENFORD

Combined 2-D bars and 2-D lines

Some graph types are not appropriate for use with some commands. The Benford command, for example, cannot produce a pie chart. In a procedure, it’s best to use Set Graph before creating the graph to ensure Analyzer uses an appropriate graph type.

When a command outputs to an inappropriate graph type, Analyzer writes an error message to the Command Log and generates a graph using the default graph type.