Previous Topic: LINECOUNT Command-Set Lines Per PageNext Topic: OPTION Command—Define Report Options


MPLOT Command-Produce a Vertical Plot

The MPLOT command produces a vertical plot similar to the plot produced by the VPLOT command. However, MPLOT only prints the outline of the detail lines. You can specify as many variables per MPLOT report as you want.

This command has the following syntax:

MPLOT variable [options] [SCALE({n},{mX})] [CHAR1(x)] [HDR1(text)][HDR2(text)]
 [HDR(text)] [AND,
 variable [options] [SCALE({n},{mX})][CHAR1(x)] [HDR1(text)] [HDR2(text)]
 [HDR(text)]] [AND,...]
variable

Indicates any Report Writer variable.

options

Specifies any valid variable options or ID options. Each ID option you specify must include at least one identifier.

SCALE(n) or SCALE(mX) or SCALE(n,mX)

Overrides the default maximum plot scale.

By default, the highest value of the plot horizontal axis is set to the highest value of the graphed variables. For variables that represent percentages, the default maximum value is 100 percent.

To override this dynamic scale, specify n as the maximum value. If the variable that you use produces integers, n must be an integer. You cannot use more than three digits to the right of the decimal point when specifying n.

You can also widen the outline of the plot by using the multiplier mX, where m is an integer.

CHAR1(x)

Specifies the plot character. Replace x with any valid EBCDIC character.

HDR1(text)

Overrides the default top heading for the scale of the plot. Replace text with the new heading. To remove the header, replace text with a null string, as in HDR1( ).

HDR2(text)

Overrides the default bottom heading for the scale of the plot. Replace text with the new column heading. To remove the header, replace text with a null string, as in HDR2( ).

HDR(text)

Overrides the default description next to the SYMBOLS heading that describes the plotted variables. Replace text with the new description, not to exceed 30 characters.

AND,

Signals that another variable is being specified. The variable is plotted on top of the preceding variables. The comma after AND lets you continue to the next line.