Previous Page | Next Page

Introduction to SAS/GRAPH Software

Information You Should Know

This section outlines information you should know before you attempt to run the examples in this document.


Support Personnel

Most sites have personnel available to help users learn to run SAS System. Record the name of your on-site SAS support personnel. Also, record the names of anyone else you regularly turn to for help with running SAS/GRAPH.


Sample Programs

The documentation for each procedure, for global statements, and for features such as the Annotate facility provide examples that demonstrate these features of SAS/GRAPH. You can copy the example code from the help or the OnlineDoc and paste it into the Program Editor in your SAS session.

These same programs are included in the sample library SAS Sample Library. How you access the code in the sample library depends on how it is installed at your site.

To access the sample programs through SAS Help and Documentation or through your file system, you must understand the naming convention used for the samples. The naming convention for SAS/GRAPH samples is Gpcxxxxx, where pc is the product code and xxxxx is an abbreviation of the example title. The product code can be a code for a procedure, a statement, or in the case of Java and ActiveX examples, WB for "web graphs." For example, the code for the first example in the GMAP procedure chapter, Producing a Simple Block Map, is stored in sample member GMPSIMPL. The sample-library member name is sometimes displayed as a footnote in the output's lower-right corner.

Note:   For Java and ActiveX (web graph) samples, the naming convention is GWBxxxxx.  [cautionend]

Product Codes for SAS/GRAPH Procedures
Procedure Code
dsgi DS
ganno AN
gareabar AB
gbarline BL
gchart CH
gcontour CT
geocode GE
gfont FO
ginside IN
gkpi KP
gmap MP
goptions OP
gplot PL
gproject PJ
gradar RR
greduce RD
gremove RM
greplay RE
gslide SL
gtile TL
g3d TD
g3grid TG

Product Codes for SAS/GRAPH Statements
Statement Code
axis AX
by BY
footnote FO
goptions ON
legend LG
note NO
pattern PN
symbol SY
title TI


Map Data Sets

To run the examples that draw maps, you need to know where the map data sets are stored on your system. Depending on your installation, the map data set might automatically be assigned a libref. Ask your on-site SAS support personnel or system administrator where the map data sets are stored for your site.


Annotate Macros Data Set

To run the examples using Annotate macros, you need to know where the Annotate macro data set is stored on your system. Depending on your installation, the Annotate macro data set might automatically be assigned a fileref. Ask your on-site SAS support personnel or system administrator where the Annotate macro data set is stored for your site.

Previous Page | Next Page | Top of Page