SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide

space
Previous Page | Next Page

The SGPLOT Procedure

Procedure Syntax


Requirements: At least one plot statement is required.

PROC SGPLOT < option(s)>;
BAND X= variable | Y= variable
UPPER= numeric-value | numeric-variable LOWER= numeric-value | numeric-variable
</option(s)>;
DENSITY response-variable </option(s)>;
DOT category-variable </option(s)>;
ELLIPSE X= numeric-variable Y= numeric-variable </option(s)>;
HBAR category-variable < /option(s) >
HBOX response-variable </option(s)>;
HISTOGRAM response-variable < /option(s)>
HLINE category-variable < /option(s)>
INSET "text-string-1" <... "text-string-n"> | (label-list);
KEYLEGEND <"name-1" ... "name-n"> </option(s)>;
LOESS X= numeric-variable Y= numeric-variable </option(s)>;
NEEDLE X= variable Y= numeric-variable </option(s)>;
PBSPLINE X= numeric-variable Y= numeric-variable </option(s)>;
REFLINE value(s) </option(s)>;
REG X= numeric-variable Y= numeric-variable </option(s)>;
SCATTER X= variable Y= variable </option(s)>;
SERIES X= variable Y= variable </option(s)>;
STEP X= variable Y= variable </option(s)>;
VBAR category-variable < /option(s)>
VBOX response-variable </option(s)>;
VLINE category-variable < /option(s)>
XAXIS <option(s)>;
X2AXIS <option(s)>;
YAXIS <option(s)>;
Y2AXIS <option(s)>;

space
Previous Page | Next Page | Top of Page