Chapter Contents |
Previous |
Next |
The G3D Procedure |
Parts of a Three-dimensional Plot |
G3D Procedure Terms
About the Input Data Set |
Only one z point is plotted for each combination of x and y. For example, you cannot draw a sphere using the PLOT statement. If there is more than one observation for a combination of x and y in the data set, only the last such point is used.
For the G3D
procedure to produce a satisfactory surface plot,
the data set must contain nonmissing z values for at least 50
percent of the grid cells. When the G3D procedure cannot produce a satisfactory
surface plot because of missing z values, SAS/GRAPH
issues a warning message and a graph may not be produced. To correct this
problem, process the data set with the G3GRID procedure and use the processed
data set as the input data set for G3D. The G3GRID procedure interpolates
the necessary values to produce a data set with nonmissing z
values for every combination of x and y. The G3GRID
procedure can also smooth data for use with the G3D procedure. See The G3GRID Procedure for more information on
the G3GRID procedure.
For scatter plots, only one z value is
plotted for a combination of x and y. For example,
you cannot draw a sphere using the SCATTER statement. If there is more than
one observation for a combination of x and y in
the data set, only the last point is used. See Simulating an Overlaid Scatter Plot for information on producing scatter plots
with more than one vertical value for each x,y combination.
Note:
AXIS and LEGEND definitions are not supported by the G3D procedure.
Use the Annotate facility or TITLE, FOOTNOTE, and NOTE statements to produce
legends, tick mark values, and axis labels. See About Controlling the Axes and
SCATTER Statement for information on controlling axis labels
and tick mark values with PLOT statement and SCATTER statement options.
About Rotating and Tilting the Plot |
Rotating and Tilting a Graph shows how rotating and tilting can change the viewing angle of a graph.
Note:
At certain combinations of tilt and rotation angles, the tick
mark values may overlap.
About Controlling the Axes |
You can also change the font and height of axis labels and axis values by specifying the desired font and height with the FTEXT= and HTEXT= options on a GOPTIONS statement.
For information on how to reverse the values on an axis, see Reversing Values on an Axis.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.