• Print  |
  • Feedback  |

TEMPLATE Procedure: Plot Statements (Experimental)

HISTOPARM Statement


Displays a univariate histogram for specified values of bin midpoints and bin frequencies, and typically is used to add a histogram to a density plot.
HISTOPARM Y= numeric-column | expression X= numeric-column | expression < / option(s)> ;


Usage Information

Density Histogram

[Density Histogram]


Required Arguments

X

specifies the column for the X values.

Requirement: The values must not be negative.
Y

specifies the column for the Y values.

Requirement: The values must be uniformly spaced.

Options

HISTOPARM Options
Option Description
BACKGROUND= color | style-reference Specifies the background color of the graph.
BACKTRANSPARENCY= number Specifies the degree of the transparency of the background color.
DATATRANSPARENCY=number Specifies the degree of the transparency of the bars.
ENDLABELS= boolean Specifies whether labels are drawn at the endpoints of the bins.
FILL=boolean Specifies whether the bar interiors are filled.
FILLCOLOR=color | style-reference Specifies the color of the interiors of the bars.
ORIENT= HORIZONTAL | VERTICAL Specifies the orientation of the Y axis and the bars.
OUTLINECOLOR= color | style-reference Specifies the color of the bar outlines.
TRANSPARENCY= number Specifies the degree of the transparency of the bars and background, if displayed in a graph.
XAXIS= X | X2 Specifies whether data is mapped to the primary X axis or to the secondary X (X2) axis.
XVALUES= LEFTPOINTS | MIDPOINTS | RIGHTPOINTS Specifies that the bin values that are provided by the X= column are interpreted as lower endpoints, midpoints, or upper endpoints of the bins.
YAXIS= Y | Y2 Specifies whether data is mapped to the primary Y axis or to the secondary Y (Y2) axis.

BACKGROUND= color | style-reference

specifies the background color of the graph.

Default: Specified by the GraphBackground:Background style reference.
Interaction: Ignored in a LAYOUT OVERLAY block. For information, see Ignored Plot Options in a LAYOUT OVERLAY Block.
BACKTRANSPARENCY= number

specifies the degree of the transparency of the background color.

Default: 0
Range: 0 (opaque) to 1 (entirely transparent)
Interaction: The BACKTRANSPARENCY= option overrides the TRANSPARENCY= option for the background.
Interaction: Ignored in a LAYOUT OVERLAY block. For information, see Ignored Plot Options in a LAYOUT OVERLAY Block.
See also: TRANSPARENCY= option
DATATRANSPARENCY= number

specifies the degree of the transparency of the bars.

Default: 0
Range: 0 (opaque) to 1 (entirely transparent)
Interaction: The DATATRANSPARENCY= option overrides the TRANSPARENCY= option for the bars.
See also: TRANSPARENCY= option
ENDLABELS= boolean

specifies whether labels are drawn at the endpoints of the bins.

Default: FALSE
Interaction: If XAXISOPTS= (TICKS=), then the ENDLABELS= option is overridden.
Interaction: If ENDLABELS=FALSE, then the labels are drawn at the midpoints, whether the XVALUES= option identifies the X data as endpoint values or midpoint values.
FILL= boolean

specifies whether bar interiors are filled.

Default: TRUE.
FILLCOLOR= color | style-reference

specifies the color of the interiors of the bars.

Default: Specified by the GraphDataDefault:Foreground style reference.
ORIENT= HORIZONTAL | VERTICAL

specifies the orientation of the Y axis and the bars.

Default: VERTICAL
OUTLINECOLOR= color | style-reference

specifies the color of the bar outlines.

Default: Specified by the GraphOutlines:Foreground style reference.
TRANSPARENCY= number

specifies the degree of the transparency of the bars and background, if displayed in a graph.

Default: 0
Range: 0 (opaque) to 1 (entirely transparent)
Interaction: You can specify the transparency of individual graph elements by using the BACKTRANSPARENCY= and DATATRANSPARENCY= options. The value specified by the TRANSPARENCY= option is only applied to the transparencies that you do not specify individually.
Interaction: In a LAYOUT OVERLAY block, the TRANSPARENCY= option only affects the bars. The LAYOUT OVERLAY statement specifies the transparency of the background of the graph.
XAXIS= X | X2

specifies whether data is mapped to the primary X axis or to the secondary X (X2) axis.

Default: X
Interaction: Outside of a LAYOUT OVERLAY block, an individual plot can have only one X axis. The XAXIS= option of a plot specifies whether the axis is in the primary (bottom) or secondary (top) position. The XAXISOPTS= option of a plot specifies whether the axis is displayed and specifies the axis characteristics.

Within a LAYOUT OVERLAY block, multiple plots can share a primary axis and a secondary axis. The primary and secondary axes can have different scales, and the XAXIS= option for a particular plot can map data to either axis. The XAXISOPTS= and X2AXISOPTS= options of a LAYOUT OVERLAY statement specify whether the axes are displayed, and specify the axis characteristics.

XVALUES= LEFTPOINTS | MIDPOINTS | RIGHTPOINTS

specifies that the bin values that are provided by the X= column are interpreted as lower endpoints, midpoints, or upper endpoints of the bins.

Default: MIDPOINTS
See also: ENDLABELS=
YAXIS= Y | Y2

specifies whether data is mapped to the primary Y axis or to the secondary Y (Y2) axis.

Default: Y
Interaction: Within a LAYOUT OVERLAY block, multiple plots can share a primary axis and a secondary axis. The primary and secondary axes can have different scales, and the YAXIS= option for a particular plot can map data to either axis. The YAXISOPTS= and Y2AXISOPTS= options of a LAYOUT OVERLAY statement specify whether the axes are displayed, and specify the axis characteristics.


Previous Page | Next Page | Top of Page