Chapter Contents |
Previous |
Next |

SAS/GRAPH Software: Reference |

SAS/GRAPH software produces many kinds of charts, plots, and maps in both two- and three-dimensional versions. In addition to helping you understand the variety of graphs that are available to you, these descriptions will also help you choose the correct type of graph for your data and point you to the appropriate chapter.

Charts |

SAS/GRAPH software
uses the GCHART procedure to produce charts that graphically represent the
value of a statistic for one or more variables in a SAS data set. See The GCHART Procedure for a
complete description.

Two-Dimensional Plots |

GPLOT can also display data as bubble plots in which circles of different sizes represent the values of a third variable.

Plots are useful for demonstrating the relationship between two or more variables and frequently compare trends or data values or depict movements of data values over time.

See The GPLOT Procedure
for a complete description.

Three-Dimensional Plots |

See The G3D Procedure
for a complete description.

See The GCONTOUR Procedure for a complete description.

Contour plots are two-dimensional plots that show three-dimensional relationships. These plots use contour lines or patterns to represent levels of magnitude of a contour variable plotted on the horizontal and vertical axes.

When you need to interpolate or smooth data values that are used by the G3D and GCONTOUR procedures, use the G3GRID procedure. The G3GRID procedure does not produce graphics output but processes existing data sets to create data sets that the G3D or GCONTOUR procedure can use to produce three-dimensional surface or contour plots. See The G3GRID Procedure for a complete description.

Maps |

SAS/GRAPH software includes data sets to produce geographic maps. In addition, you can create your own map data sets.

See The GMAP Procedure
for a complete description.

Surface maps are three-dimensional maps that represent data values as spikes of varying heights.

SAS/GRAPH software also provides several utility procedures for handling map data.

Map areas are constructed of joined data points. Each data point represents an observation in a SAS data set. For large maps, the amount of data can be prohibitively expensive (in terms of computing resources or time to process); the GREDUCE procedure enables you to reduce the number of points in the data set. The GREMOVE procedure enables you to remove boundary lines within a map.

Creating Text Slide and Presentation Graphics |

You can use SAS/GRAPH software to create slide presentations of your graphs. With SAS/GRAPH you can

- create text slides with the GSLIDE and GPRINT
procedures
- combine several graphs into one output with the
GREPLAY procedure
- automatically or manually replay your graphs and
text slides with the GREPLAY procedure.

See The GSLIDE Procedure for a complete description.

Text slides display text as graphics output. Text slides can be used as title slides for presentations, or to produce certificates, signs, or other display text.

See The GPRINT Procedure
for a complete description.

*Templated graphs*

In addition, you can use the GREPLAY procedure to create an automated or user-controlled presentation of graphics output. The GREPLAY procedure enables you to name, arrange, and customize the presentation of graphs that are stored in a catalog.

See The GREPLAY Procedure for a complete description.

Enhancing Graphics Output (graphs and text slides) |

*Annotated graphs*

Creating Custom Graphics |

To generate presentation graphs without writing any SAS/GRAPH code, you can use Graph-N-Go (not available on mainframes). You can start Graph-N-Go in several ways:

- from the menus in any SAS window, select
Solutions Reporting Graph-N-Go - submit either of the following from the SAS command line:
gng graphngo

- use an Explorer window to directly open a GFORM entry. Double-click
(or right-click and choose Open) on a GFORM entry to start a Graph-N-Go session
using that entry.

Information on using the application is in Graph-N-Go help, which you can access from the application's main window in either of two ways:

- select
Help Using This Window - press F1 (this may not work in some operating environments).

You can also get help for the application by submitting the following command from the SAS command line:

help gng

Chapter Contents |
Previous |
Next |
Top of Page |

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.