正在加载图片...
SUGI 30 Tutorials the GREPLAY procedure. GTESTIT--is a diagnostic tool for testing the installation of SAS/GRAPH software and the configuration of your device. G3D-produces three-dimensional graphs that plot one vertical variable(z)for a position on a plane that is specified by two horizontal variables (x and y). MAPIMPORT--enables you to import ESRI shapefiles (spatial data formats)and process the SHP files into SAS/GRAPH traditional map data sets. SAS/GRAPH Global Statements AXIS--modifies the appearance,position,and range of values of axes in charts and plots. GOPTIONS -specifies graphics options that control the appearance of graphics elements by specifying characteristics such as default colors,fill patterns,fonts,or text height.Graphics options can also temporarily change device settings. LEGEND--modifies the appearance and position of legends generated by procedures that produce charts.plots. and maps. PATTERN-controls the color and fill of patterns that are assigned to areas in charts,maps,and plots. SYMBOL--specifies the shape and color of plot symbols as well the interpolation method for plot data.It also controls the appearance of lines in contour plots. TITLE and FOOTNOTE--add titles and footnotes to graphics output. GPLOT PROCEDURE One of the really unique features of most SAS procedures is that they are driven by the data.And that becomes even more apparent when you see the output of the SAS/GRAPH procedures.We are going to begin with the GPLOT procedure because everyone has plotted data points a graph at some point.And that is all SAS is going to do....plot a point (with an x-value and a y-value)on the graph for each observation. With the PLOT statement you request plots to be generated with sets of Y-var*X-var pairs.GPLOT and several of the graph procedures support run-group processing. proc gplot data=sashelp.shoes; plot Returns Sales run; $50.000 $40.000 $30.000 $20.000 4+ $10.000 $0 0 $200.000 $400.000 $600.000$800.000$1.000.000$1.200.000$1.400.000 Total Sa es 22 the GREPLAY procedure. GTESTIT -- is a diagnostic tool for testing the installation of SAS/GRAPH software and the configuration of your device. G3D -- produces three-dimensional graphs that plot one vertical variable (z) for a position on a plane that is specified by two horizontal variables (x and y). MAPIMPORT -- enables you to import ESRI shapefiles (spatial data formats) and process the SHP files into SAS/GRAPH traditional map data sets. SAS/GRAPH Global Statements AXIS -- modifies the appearance, position, and range of values of axes in charts and plots. GOPTIONS -- specifies graphics options that control the appearance of graphics elements by specifying characteristics such as default colors, fill patterns, fonts, or text height. Graphics options can also temporarily change device settings. LEGEND -- modifies the appearance and position of legends generated by procedures that produce charts, plots, and maps. PATTERN -- controls the color and fill of patterns that are assigned to areas in charts, maps, and plots. SYMBOL -- specifies the shape and color of plot symbols as well the interpolation method for plot data. It also controls the appearance of lines in contour plots. TITLE and FOOTNOTE -- add titles and footnotes to graphics output. GPLOT PROCEDURE One of the really unique features of most SAS procedures is that they are driven by the data. And that becomes even more apparent when you see the output of the SAS/GRAPH procedures. We are going to begin with the GPLOT procedure because everyone has plotted data points a graph at some point. And that is all SAS is going to do….plot a point (with an x-value and a y-value) on the graph for each observation. With the PLOT statement you request plots to be generated with sets of Y-var * X-var pairs. GPLOT and several of the graph procedures support run-group processing. proc gplot data=sashelp.shoes; plot Returns * Sales ; run; Tot al Ret urns $0 $10, 000 $20, 000 $30, 000 $40, 000 $50, 000 $60, 000 Tot al Sal es $0 $200, 000 $400, 000 $600, 000 $800, 000 $1, 000, 000 $1, 200, 000 $1, 400, 000 SUGI 30 Tutorials
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有