- Syntax Procedure SyntaxPROC SGPLOT StatementBAND StatementBUBBLE StatementDENSITY StatementDOT StatementELLIPSE StatementHBAR StatementHBARPARM StatementHBOX StatementHIGHLOW StatementHISTOGRAM StatementHLINE StatementINSET StatementKEYLEGEND StatementLINEPARM StatementLOESS StatementNEEDLE StatementPBSPLINE StatementREFLINE StatementREG StatementSCATTER StatementSERIES StatementSTEP StatementVBAR StatementVBARPARM StatementVBOX StatementVECTOR StatementVLINE StatementWATERFALL (Preproduction) StatementXAXIS StatementX2AXIS StatementYAXIS StatementY2AXIS Statement
- Overview
- Concepts
- Examples Grouping a Scatter PlotClustering a Grouped Scatter Plot Plotting Three SeriesAdding Prediction and Confidence Bands to a Regression PlotAdding a Prediction Ellipse to a Scatter PlotCreating Lines and Bands from Pre-Computed DataAdding Statistical Limits to a Dot PlotCombining Histograms with Density PlotsCreating a Horizontal Box PlotCreating a Bar-Line ChartCreating a High-Low Chart

The SGPLOT procedure creates one or more plots and
overlays them on a single set of axes. You can use the SGPLOT procedure
to create statistical graphics such as histograms and regression plots,
in addition to simple graphics such as scatter plots and line plots.
Statements and options enable you to control the appearance of your
graph and add additional features such as legends and reference lines.

The SGPLOT procedure can create a wide variety of plot
types, and can overlay plots together to produce many different types
of graphs.