Posts

Showing posts from October, 2015

Graphs SAS: Ron Cody Book

Image
SAS is a very powerful tool to build the graphs. Our main focus is to build the SAS/Graph like Bar Graphs, Scatter Plots etc.Let us look on some of the questions and try to understand the code and the output. The appearance of the output from various SAS/GRAPH procedures can be influenced by additional statements such as SYMBOL (for example, defines plotting symbols and line styles), PATTERN (defines styles for bar graphs), and AXIS (defines horizontal and vertical axes) Q1) Code: let us understand step wise what is happening 1) Title statement describes the title to be printed. It is a global statement. 2) Ron Cody has specified:    A PATTERN statement requests that the bars in your vertical bar chart consist of an outline only (the default is to fill in the bar).  The VBAR statement requests a vertical bar  Alternatives to VBAR are as follows: HBAR Horizontal bar chart VBAR3D Three-dimensional vertical bar chart H...