Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to SAS/Graph Don Miller 812 Oswald Tower 814-863-3155.

Similar presentations


Presentation on theme: "Introduction to SAS/Graph Don Miller 812 Oswald Tower 814-863-3155."— Presentation transcript:

1 Introduction to SAS/Graph Don Miller 812 Oswald Tower miller@pop.psu.edu 814-863-3155

2 Paris datasets Open Windows Explorer (or My Computer) Tools – Map Network Drive Drive P: Folder \\paris\sas_data\\paris\sas_data For help help@pop.psu.eduhelp@pop.psu.edu Stat help stat-core@pop.psu.edustat-core@pop.psu.edu

3 PROC GPLOT

4

5

6

7

8 PROC GCHART

9

10

11

12

13 ODS Statements Used to create HTML / GIF versions of graphs Right-click on desktop and create a “Graphs” folder. Add this to the top of your code (where “miller” is your user name; each of the quoted values is one line): ods html body="C:\Documents and Settings\miller\ Desktop\graphs\graphs.html" gpath="C:\Documents and Settings\miller\ Desktop\graphs\"; Add this to the bottom of your code: ods html close; You will get a “graphs.html” in your Graphs folder (open with IE).

14 Other Graphing Concepts GCHART: After slash (/) in VBAR statement: DISCRETE forces one bar per value. NOZERO omits bars where the count is 0. SPACE=(#) controls the space between bars. WIDTH=(#) controls the bars’ width. PATTERN statements are used to control the color of bars (do a GCHART after these): pattern1 color=red; pattern2 color=orange; AXIS statements are used to control the axes: axis1 order=(0 to 20000 by 1000) label=none minor=none; plot finctot*agehofh /vaxis=axis1;


Download ppt "Introduction to SAS/Graph Don Miller 812 Oswald Tower 814-863-3155."

Similar presentations


Ads by Google