Tips for Producing Customized Graphs with SAS/GRAPH Software. Perry Watts, Fox Chase Cancer Center, Philadelphia, PA

Size: px
Start display at page:

Download "Tips for Producing Customized Graphs with SAS/GRAPH Software. Perry Watts, Fox Chase Cancer Center, Philadelphia, PA"

Transcription

1 Tips for Producing Customized Graphs with SAS/GRAPH Software Perry Watts, Fox Chase Cancer Center, Philadelphia, PA Abstract * SAS software is used to produce customized graphics displays by solving a set of related problems. First, the problem of selectively displaying labels at unevenly spaced intervals along a horizontal axis is solved by invoking the FORMAT procedure from PROC GPLOT. Next, a problem that gets in the way of generating the first graph is used for segmenting an axis to highlight the presence of outlying values in a displayed data set. A third more involved problem deals with overlapping labels along a midpoint axis. This time the problem is solved by invoking PROC FORMAT from an ANNOTATE data set rather than from the graphics procedure itself. Text distortion resulting from mapping related graphs to oblong templates is the fourth problem addressed in the presentation. A simple, external solution sends graphics output to Computer Graphics Metafiles (CGMs) containing scaled TrueType fonts. Unfortunately, CGMs have their own set of limitations which must be addressed before the developer can take full advantage of the file format. The presentation concludes by showing how to get one symbol instead of the usual three to identify subgroups in a LEGEND statement. The solution involves a manipulation of the width parameter in the legend s SHAPE clause. Axes Labels at Unevenly Spaced Intervals Occasionally it is necessary to produce a graph with an axis containing major ticks labels positioned at unevenly spaced intervals. Unfortunately, there is no feature in SAS/GRAPH that will automatically handle this situation. One can use the order clause in the Axis Statement to select a subset of intervals, but SAS will plot them as if they were evenly spaced. Using a unit interval, on the other hand, will only clutter the graph and confuse the viewer, since all major tick marks are labeled by default. The serial development of the graph in Figures - shows how a simple application of PROC FORMAT solves the problem. In Figure, the measurements are placed at an accurate distance from each other, but the graph is cluttered, and * This publication was supported by Grant 7- from the National Institute for Allergies and Infectious Diseases, NIAID. it is difficult for the viewer to link the horizontal coordinates to the data display located relatively high up on the response axis. Figure simplifies the graph but distorts the time interval whereas Figure solves the problem by invoking PROC FORMAT from GCHART to selectively label major tick marks. Figure could be further enhanced by removing unlabeled ticks with a graphics editor. Here is the code for PROC FORMAT: proc format; value weekfmt = = = = = 8= 8 = = = + other= ; run; Segmenting an Axis for Outliers In the original abstract for this paper, SKIPMISS, was listed as a means for segmenting an axis in order to emphasize the presence of outlying values in a data set. The current solution bypasses SKIPMISS by adding a small amount of code to an existing ANNOTATE data set used for labeling data points in the graph about ODC activity displayed in Figure. While the unevenly spaced intervals in Figure are defined as a problem, they become an asset in the ODC graph, because this time the data values should not be proportionately spaced. As in Figure, the order clause in the Axis Statement is used to generate the tick marks. There is also no need for PROC FORMAT in the ODC graph, but both axes are modified slightly to accommodate the hatch mark with its intervening space in the response axis. First the offset value for the horizontal axis is set to zero with offset=(,). Setting the horizontal offset to zero ensures that the value for the x-coordinate in the vertical axis is truly zero. Then the hatch mark which is a rotated equal sign (=) is created. The label command in ANNOTATE is used for drawing the hatch mark, and move and draw commands place a thick white line between the equal sign directly over the response axis. Using when= a (after) in ANNOTATE also ensures that the hatch mark will be the last item plotted on the page, so it goes over not under an already formed axis. Creating Visible Axes Labels Ordinarily each bar in a histogram is automatically labeled with its midpoint value in the GCHART procedure ( SAS/GRAPH Software Volume II 7).

2 This practice is satisfactory when a single bar summarizes data for a range of values. However, when the range is one, as it is in Figure, the numbers are bound to overlap regardless of the point value assigned to the font. This problem is magnified for multiple plot displays where numbers must be made even larger for terminal viewing. As in the segmented axis example, ANNOTATE is used for obtaining a customized axis. Notice that it provides the developer with complete control over what values are plotted along the axis. Zero to five, for example is a longer interval than five to, and is the maximum value for all the runs in set #. Code for the ANNOTATE data set that is needed for drawing the midpoint axis (maxis) in the mutation graph along with anfmt which provides spacing between the numbers is shown below: proc format; value anfmt ='' ='' ='' ='' ='' ='' ='' ='' ='' ='' other=''; data anno; length function color $8; length text $; length position $; retain color 'black' xsys '' ysys '' hsys ''; do i= to ; chi=left(put(i,anfmt.)); if(chi ne '') then do; function='label'; x=i; y=; size=&hh; position='e'; text=chi; output; stop; run; The format, anfmt, highlighted in anno above is used to display text not manage data in the cell mutation graph. The data are still managed from the axis statement s order clause which processes the full range of values in unit steps. Here is the code for axis which governs the data: axis label=none order=( to by ) major=none minor=none value=none; Unlike the Baseline graph displayed in Figure, PROC FORMAT cannot be used for both axis display and data management in the cell mutation graph. Values for intervening mutation numbers exist in Figure whereas only labeled weeks from baseline contain data values in Figure. In fact, Figure shows what happens when anno is removed from the cell mutation program, and axis is altered to display formatted data: Correcting Text Distortion The next example extends the cell mutation graph above by mapping three similar plots to oblong templates so that they can be viewed together on a single page. Again, PROC GCHART is used for creating histograms having unit ranges along a midpoint axis. The same process of invoking PROC FORMAT from an ANNOTATE data set is also used to generate axis numbers, but the axis is no longer linear in scale. The presence of a nonlinear scale is noted by the fact that many more than 9 bars appear between sites and in the Vkappa Shannon plot displayed in Figures 7 and 8. Every tenth bar is highlighted so that the viewer can get an accurate count of the number of sites in a given plot. As shown below, anfmt which numbers the Vkappa axis easily manages the nonlinear scale: value anfmt ='' ='' ='' ='' ='' ='' ='' 7='7' 8='8' 9='9' other=' '; The ANNOTATE data set, anno, on the other hand, is a bit more complicated than anno displayed earlier, because tick marks need to be simulated. PROC GCHART does not support tick marks along the midpoint axis, but the presence of a nonlinear scale in the Shannon plots requires them, so they are inserted with a vertical slash ( ) mark: data anno; /* For X axis values,ticks */ length function color $8; length text $; length position $; retain color 'black' xsys '' ysys '' hsys; i=; do while (i le &maxx.); chi=left(put(i,anfmt.)); if(chi ne ' ') then do; /*major ticks*/ function='label';x=i;y=;size=.7; position='e';text=' ';output; function='label';size=8;position='e'; text=chi;output; else do; /*minor ticks*/ function='label';x=i;y=;size=.; position='e';text=' ';output; i+; stop; run; Position E in both anno and anno centers the text a half cell below the y-coordinate. This way numbers and tick marks are separated from the horizontal axis itself. Figure 7 shows the graph that is printed directly from SAS in a Microsoft Windows environment. Axes numbers become distorted when a single graph is compressed along one axis but stretched out on another.

3 On the other hand, the title, labels, and footnotes are not so distorted in Figure 7, because they are displayed from a larger fourth template which is less oblong in shape. Figure 8 shows a corrected version of the Shannon graphs. Fortunately CGMs support scaleable fonts which automatically correct the distortion. Otherwise, a developer would be faced with the impossible task of placing each number on all sets of axes from the vantage point of the larger fourth template. Correcting the distortion with a CGM only involves changing a SAS program s default font from SWISS to HWCGM, and updating the GOPTIONS statement with: device=cgmmwc and gsfname=cgmname. CGM Limitations Unfortunately, there are a number of features that limit the effectiveness of CGMs for displaying SAS/GRAPH output. First, the file format is not available across all platforms, and Microsoft Word doesn t support it in the Macintosh environment. Secondly, the line width clause is not supported outside of SAS. A close examination of Figures - in this article, for example, shows that all axes lines have very narrow widths. Error bars in some of the graphs are thicker, because they are generated in ANNOTATE which relies on size rather than width for line width. Possibly the failure to uniformly translate line width to the external environment can be attributed to the fact that units are not specified as a parameter for the width clause ( SAS/GRAPH Software Usage 9). Sometimes axes labels will be truncated when a graph is written to a CGM file. A clumsy fix for this problem involves inserting a blank footnote into a graph in the same manner suggested for moving an axis frame away from a graph border ( SAS/GRAPH Software Usage 9). On some platforms, however, null or blank footnotes will be ignored by the SAS compiler, and the truncation problem won t be fixed. All one has to do in this instance is to add a footnote in the graph s background color containing the characters BAD FIX. Then axes labels will be fully displayed. The truncation problem described here emphasizes the lack of control a SAS developer has over the space surrounding the procedure output area. CGMs also ignore the implicit carriage return that SAS software inserts for multiple line axes labels. For example, when the target device for the SAS program which generates the graph in Figure 9 is set to winprtc, the following simple code will produce multiple line labels for the horizontal axis: value= (tick= h= j=c ' ' j=c 'Pathologist' tick= h=. j=c 'Mean' j=c ' ' ) The word Pathologist is printed out under a blank line whereas Mean appears over the numbers and. The SAS compiler automatically inserts a carriage return every time it encounters a justification (j) clause. Output is then formatted properly when it goes directly to the screen. However, if graphics output is redirected to a CGM, carriage returns must be added to obtain multiple line axes labels. The altered code below is anything but straight forward: /* First create a carriage return character as a macro variable */ data _null_; cr=byte(); call symput('cr',put(cr,$.)); stop; run; /* Next, insert cr into the code and color it white so that it is not displayed as a small box in the output. Add three justification clauses (emboldened j= characters below) to center justify initial characters, and lastly make sure that the color of the text to be seen is black.*/ value= (tick= h= j=c c=white "&cr" c=black j=c 'Pathologist' tick= h=. j=c c=black "Mean" j=r c=white "&cr" c=black j=c ' ' ) In addition to generating a carriage-return, the byte function shown above is also used for creating the math symbol, ±, in Figure 8. A comparison with Figure 7 shows that this is one time when Microsoft Word is superior to SAS in its display of special symbols. Displaying One Symbol in a Legend A discussion of symbols brings us to the last coding example in this presentation. If values are not specified for the shape clause in a LEGEND statement, width and height will be set to and (cells) respectively. Invariably the value of will produce the three symbol legend that is shown in Figure 9. Setting width to a small value such as. generates the single symbol display shown in Figure. The term width in the LEGEND statement does not refer to the width of the symbol per se. Because the symbol is proportionate, height takes care of symbol width as well. Instead, width refers to the amount of space allotted for each legend value in the output ( SAS/GRAPH Software Volume ). If width is a small value, only one symbol will be printed.

4 Summary and Conclusions While five different graphics problems have been described in this paper, the smaller number of techniques that are used to solve them must be judiciously applied. For example, the same application of PROC FORMAT works well for spacing intervals and preventing overwrites, but FORMAT alone cannot be used to display data above a blank axis label. ANNOTATE is needed in such situations to preserve the integrity of the data. Again, even though an uneven order clause is essential for solving a segmented axis problem, it gets in the way of accurately displaying data at unevenly spaced time intervals. CGMs also don t provide universal solutions to text formatting problems. Nevertheless, the provision of a scaled font improves the quality of multiple graphics displays, and CGMs are very easy to insert into Microsoft Word documents and PowerPoint presentations. References Microsoft Corporation. User s Guide Microsoft Word: The World s Most Popular Word Processor, Version.. Microsoft Corporation, 99. Microsoft Typography Features of TrueType TrueType fonts. December 99. < truetype/what/ttfonts.htm> ( March 997). SAS Procedures Guide, Version, Third Edition. Cary NC: SAS Institute Inc., 99. SAS/GRAPH Software, Usage, Version, First Edition. Cary NC: SAS Institute Inc., 99. SAS/GRAPH Software, Volumes and, Reference, Version, First Edition. Cary NC: SAS Institute Inc., 99. Value Weeks from Baseline.. Figure. A display of unit intervals.

5 Value Weeks from Baseline.. Figure. A display of selected intervals, but time is distorted. Value Weeks from Baseline.. Figure. A display of unevenly spaced time intervals.

6 ODC Activity vs Differentiation Grade 7. =..7. O D C A c t i v i t y... ±.8. ±.. ±. Well (n=) Mod (n=) Differentiation Grade Mod-Poor (n=) Poor (n= ). ±. Figure. A segmented response axis emphasizes the presence of outlying values in a data set. Number of Cells by Mutation for Selected Runs from Set # (Grouped by Burst Size) Run= Grp=All #Cells #Mutations Figure. Numerical values for the number of cell mutations are placed sufficiently far apart from each other to prevent overlapping.

7 Number of Cells by Mutation for Selected Runs from Set # (Grouped by Burst Size) #Cells 7 Run= Grp=All #Mutations Figure. Incorrect results are displayed when main axis values alone are formatted in PROC GCHART. 7

8 Figure 7. Shannon Plots produced directly from SAS with targetdevice=winprtc. H 9 VAlpha Shannon(H ± s) Measure of Diversity VBeta VKappa Site (Kabat-Wu Numbering) Figure 8. Text distortion is eliminated by sending output to a CGM file. 8 Amino Acids (-) Excluded

9 % PreOp ChemoRT vs None in Pancreatic Cancer By Pathologist NO ChemoRT ChemoRT 8 Pathologist Mean Median STD MIN MAX Range Cancer Cells Figure 9. Multiple line axes labels as well as multiple legend symbols are displayed. % PreOp ChemoRT vs None in Pancreatic Cancer By Pathologist NO ChemoRT ChemoRT 8 Pathologist Mean Median STD MIN MAX Range Cancer Cells Figure. The graph is improved by having only one symbol in the legend. 9

It s Not All Relative: SAS/Graph Annotate Coordinate Systems

It s Not All Relative: SAS/Graph Annotate Coordinate Systems Paper TU05 It s Not All Relative: SAS/Graph Annotate Coordinate Systems Rick Edwards, PPD Inc, Wilmington, NC ABSTRACT This paper discusses the SAS/Graph Annotation coordinate systems and how a combination

More information

MANAGING SAS/GRAPH DISPLAYS WITH THE GREPLAY PROCEDURE. Perry Watts IMS Health

MANAGING SAS/GRAPH DISPLAYS WITH THE GREPLAY PROCEDURE. Perry Watts IMS Health MANAGING SAS/GRAPH DISPLAYS WITH THE PROCEDURE Perry Watts IMS Health Abstract PROC is used for redisplaying graphs that have been stored in temporary or permanent catalogs. This tutorial will show how

More information

Coders' Corner. Paper ABSTRACT GLOBAL STATEMENTS INTRODUCTION

Coders' Corner. Paper ABSTRACT GLOBAL STATEMENTS INTRODUCTION Paper 70-26 Data Visualization of Outliers from a Health Research Perspective Using SAS/GRAPH and the Annotate Facility Nadia Redmond Kaiser Permanente Center for Health Research, Portland, Oregon ABSTRACT

More information

INTRODUCTION TO THE SAS ANNOTATE FACILITY

INTRODUCTION TO THE SAS ANNOTATE FACILITY Improving Your Graphics Using SAS/GRAPH Annotate Facility David J. Pasta, Ovation Research Group, San Francisco, CA David Mink, Ovation Research Group, San Francisco, CA ABSTRACT Have you ever created

More information

PharmaSUG 2012 Paper CC13

PharmaSUG 2012 Paper CC13 PharmaSUG 2012 Paper CC13 Techniques for Improvising the Standard Error Bar Graph and Axis Values Completely Through SAS Annotation Sunil Kumar Ganeshna, PharmaNet/i3, Pune, India Venkateswara Rao, PharmaNet/i3,

More information

Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC

Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC DP01 Effective Forecast Visualization With SAS/GRAPH Samuel T. Croker, Lexington, SC ABSTRACT A statistical forecast is useless without sharp, attractive and informative graphics to present it. It is really

More information

Creating Forest Plots Using SAS/GRAPH and the Annotate Facility

Creating Forest Plots Using SAS/GRAPH and the Annotate Facility PharmaSUG2011 Paper TT12 Creating Forest Plots Using SAS/GRAPH and the Annotate Facility Amanda Tweed, Millennium: The Takeda Oncology Company, Cambridge, MA ABSTRACT Forest plots have become common in

More information

Annotate Dictionary CHAPTER 11

Annotate Dictionary CHAPTER 11 427 CHAPTER 11 Annotate Dictionary Overview 428 Annotate Functions 429 BAR Function 431 CNTL2TXT Function 432 COMMENT Function 434 DEBUG Function 435 DRAW Function 435 DRAW2TXT Function 436 FRAME Function

More information

Multiple Forest Plots and the SAS System

Multiple Forest Plots and the SAS System Multiple Forest Plots and the SAS System Poster 10 Anne Barfield, Quanticate, Manchester, United Kingdom ABSTRACT This paper is the accompanying paper to the poster entitled Multiple Forest Plots and the

More information

Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC

Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC PharmaSUG2010 - Paper TT16 Data Annotations in Clinical Trial Graphs Sudhir Singh, i3 Statprobe, Cary, NC ABSTRACT Graphical representation of clinical data is used for concise visual presentations of

More information

The GANNO Procedure. Overview CHAPTER 12

The GANNO Procedure. Overview CHAPTER 12 503 CHAPTER 12 The GANNO Procedure Overview 503 Procedure Syntax 504 PROC GANNO Statement 504 Examples 507 Example 1: Scaling Data-Dependent Output 507 Example 2: Storing Annotate Graphics 509 Example

More information

Move =(+0,+5): Making SAS/GRAPH Work For You

Move =(+0,+5): Making SAS/GRAPH Work For You Move =(+0,+5): Making SAS/GRAPH Work For You Deb Cassidy, Computer Horizons Corporation, ndianapolis, N 've often been asked "Can SAS/GRAPH do...?" SAS/GRAPH can do almost anything - if you are willing

More information

Data Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility

Data Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility Paper HW03 Data Driven Annotations: An Introduction to SAS/GRAPH s Annotate Facility Arthur L. Carpenter California Occidental Consultants ABSTRACT When SAS/GRAPH was first introduced, it was the only

More information

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc.

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc. Abstract PharmaSUG 2011 - Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc. Adverse event (AE) analysis is a critical part

More information

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs.

Controlling Titles. Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. CHAPTER 5 Controlling Titles Purpose: This chapter demonstrates how to control various characteristics of the titles in your graphs. The Basics For the first examples in this chapter, we ll once again

More information

SparkLines Using SAS and JMP

SparkLines Using SAS and JMP SparkLines Using SAS and JMP Kate Davis, International Center for Finance at Yale, New Haven, CT ABSTRACT Sparklines are intense word-sized graphics for use inline text or on a dashboard that condense

More information

Making Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana

Making Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana Paper CC03 Making Presentations More Fun with DATA Step Graphics Interface (DSGI) Hui-Ping Chen, Eli Lilly and Company, Indianapolis, Indiana ABSTRACT Microsoft PowerPoint is powerful and most popular

More information

SciGraphica. Tutorial Manual - Tutorials 1and 2 Version 0.8.0

SciGraphica. Tutorial Manual - Tutorials 1and 2 Version 0.8.0 SciGraphica Tutorial Manual - Tutorials 1and 2 Version 0.8.0 Copyright (c) 2001 the SciGraphica documentation group Permission is granted to copy, distribute and/or modify this document under the terms

More information

Excellence with Excel: Quiz Questions Module 6 Graphs and Charts

Excellence with Excel: Quiz Questions Module 6 Graphs and Charts Excellence with Excel: Quiz Questions Module 6 Graphs and Charts 1. Suppose that you have a company s annual revenue by year. How could you create a simple column chart for this data? a. Select all the

More information

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27

The GSLIDE Procedure. Overview. About Text Slides CHAPTER 27 959 CHAPTER 27 The GSLIDE Procedure Overview 959 About Text Slides 959 About Annotate Output 960 Procedure Syntax 960 PROC GSLIDE Statement 961 Examples 963 Example 1: Producing Text Slides 963 Example

More information

... WHERE. AnnotaI8 Data.S... XSYS & YSYS. Harie Annotate: How Not to Lose Your Head When Enhancing BAS/GRAPH output

... WHERE. AnnotaI8 Data.S... XSYS & YSYS. Harie Annotate: How Not to Lose Your Head When Enhancing BAS/GRAPH output Harie Annotate: How Not to Lose Your Head When Enhancing BAS/GRAPH output Arthur La Carpenter California occidental consultants KEY WORDS ANNOTATE, GRAPHICS, FRANCE, GSLIDE, GANNO, FUNCTION INTRODUCTION

More information

SAS: Proc GPLOT. Computing for Research I. 01/26/2011 N. Baker

SAS: Proc GPLOT. Computing for Research I. 01/26/2011 N. Baker SAS: Proc GPLOT Computing for Research I 01/26/2011 N. Baker Introduction to SAS/GRAPH Graphics component of SAS system. Includes charts, plots, and maps in both 2 and 3 dimensions. Procedures included

More information

Splitting Axis Text. Splitting Text in Axis Tick Mark Values

Splitting Axis Text. Splitting Text in Axis Tick Mark Values CHAPTER 3 Splitting Axis Text Purpose: This chapter describes techniques you can use to split long text into two (or more) lines in your axes. Two techniques are described one to split text in axis tick

More information

SAMLab Tip Sheet #4 Creating a Histogram

SAMLab Tip Sheet #4 Creating a Histogram Creating a Histogram Another great feature of Excel is its ability to visually display data. This Tip Sheet demonstrates how to create a histogram and provides a general overview of how to create graphs,

More information

Tips and Tricks in Creating Graphs Using PROC GPLOT

Tips and Tricks in Creating Graphs Using PROC GPLOT Paper CC15 Tips and Tricks in Creating Graphs Using PROC GPLOT Qin Lin, Applied Clinical Intelligence, LLC, Bala Cynwyd, PA ABSTRACT SAS/GRAPH is a very powerful data analysis and presentation tool. Creating

More information

A Stand-Alone SAS Annotate System for Figure Generation Brian Fairfield-Carter, PRA International, Victoria, BC

A Stand-Alone SAS Annotate System for Figure Generation Brian Fairfield-Carter, PRA International, Victoria, BC Paper 061-29 A Stand-Alone SAS Annotate System for Figure Generation Brian Fairfield-Carter, PRA International, Victoria, BC ABSTRACT Much of the work in developing output-generating tools involves striking

More information

How to Make Graphs with Excel 2007

How to Make Graphs with Excel 2007 Appendix A How to Make Graphs with Excel 2007 A.1 Introduction This is a quick-and-dirty tutorial to teach you the basics of graph creation and formatting in Microsoft Excel. Many of the tasks that you

More information

Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics

Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics ABSTRACT Paper 1610-2014 Something for Nothing! Converting Plots from SAS/GRAPH to ODS Graphics Philip R Holland, Holland Numerics Limited, UK All the documentation about the creation of graphs with SAS

More information

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE

THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE THE IMPACT OF DATA VISUALIZATION IN A STUDY OF CHRONIC DISEASE South Central SAS Users Group SAS Educational Forum 2007 Austin, TX Gabe Cano, Altarum Institute Brad Smith, Altarum Institute Paul Cuddihy,

More information

Displaying Multiple Graphs to Quickly Assess Patient Data Trends

Displaying Multiple Graphs to Quickly Assess Patient Data Trends Paper AD11 Displaying Multiple Graphs to Quickly Assess Patient Data Trends Hui Ping Chen and Eugene Johnson, Eli Lilly and Company, Indianapolis, IN ABSTRACT Populating multiple graphs, up to 15, on a

More information

USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT

USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT USING SAS PROC GREPLAY WITH ANNOTATE DATA SETS FOR EFFECTIVE MULTI-PANEL GRAPHICS Walter T. Morgan, R. J. Reynolds Tobacco Company ABSTRACT This presentation introduces SAS users to PROC GREPLAY and the

More information

Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA

Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA Paper SIB-109 Tips to Customize SAS/GRAPH... for Reluctant Beginners et al. Claudine Lougee, Dualenic, LLC, Glen Allen, VA ABSTRACT SAS graphs do not have to be difficult or created by SAS/GRAPH experts.

More information

Top Award and First Place Best Presentation of Data Lan Tran-La. Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME

Top Award and First Place Best Presentation of Data Lan Tran-La. Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME Top Award and First Place Best Presentation of Data Lan Tran-La Scios Nova, Inc. BLOOD PRESSURE AND HEART RATE vs TIME Vital signs were collected before, during, and after the infusion of Drug A. At the

More information

Innovative Graph for Comparing Central Tendencies and Spread at a Glance

Innovative Graph for Comparing Central Tendencies and Spread at a Glance Paper 140-28 Innovative Graph for Comparing Central Tendencies and Spread at a Glance Varsha C. Shah, CSCC, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC Ravi M. Mathew, CSCC,Dept. of Biostatistics,

More information

Working with Charts Stratum.Viewer 6

Working with Charts Stratum.Viewer 6 Working with Charts Stratum.Viewer 6 Getting Started Tasks Additional Information Access to Charts Introduction to Charts Overview of Chart Types Quick Start - Adding a Chart to a View Create a Chart with

More information

A Generalized Procedure to Create SAS /Graph Error Bar Plots

A Generalized Procedure to Create SAS /Graph Error Bar Plots Generalized Procedure to Create SS /Graph Error Bar Plots Sanjiv Ramalingam, Consultant, Octagon Research Solutions, Inc. BSTRCT Different methodologies exist to create error bar related plots. Procedures

More information

Combining a Bar Graph with a Line Graph 1

Combining a Bar Graph with a Line Graph 1 Version 4.0 Step-by-Step Examples Combining a Bar Graph with a Line Graph 1 Occasionally, you may wish to use both bars and lines on the same plot. Plasma Concentration (µg/ml) 12 10 8 6 4 2 0 Pre- Injection

More information

Microsoft Excel 2007

Microsoft Excel 2007 Microsoft Excel 2007 1 Excel is Microsoft s Spreadsheet program. Spreadsheets are often used as a method of displaying and manipulating groups of data in an effective manner. It was originally created

More information

Want Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants

Want Quick Results? An Introduction to SAS/GRAPH Software. Arthur L. Carpenter California Occidental Consultants Want Quick Results? An Introduction to SAS/GRAPH Software Arthur L. arpenter alifornia Occidental onsultants KEY WORDS GOPTIONS, GPLOT, GHART, SYMBOL, AXIS, TITLE, FOOTNOTE ABSTRAT SAS/GRAPH software contains

More information

Arthur L. Carpenter California Occidental Consultants

Arthur L. Carpenter California Occidental Consultants Paper HOW-004 SAS/GRAPH Elements You Should Know Even If You Don t Use SAS/GRAPH Arthur L. Carpenter California Occidental Consultants ABSTRACT We no longer live or work in a line printer - green bar paper

More information

Converting Annotate to ODS Graphics. Is It Possible?

Converting Annotate to ODS Graphics. Is It Possible? ABSTRACT Paper 2686-2015 Converting Annotate to ODS Graphics. Is It Possible? Philip R Holland, Holland Numerics Limited In the previous chapter I described how many standard SAS/GRAPH plots can be converted

More information

Part II: Creating Visio Drawings

Part II: Creating Visio Drawings 128 Part II: Creating Visio Drawings Figure 5-3: Use any of five alignment styles where appropriate. Figure 5-4: Vertical alignment places your text at the top, bottom, or middle of a text block. You could

More information

Chapter 5snow year.notebook March 15, 2018

Chapter 5snow year.notebook March 15, 2018 Chapter 5: Statistical Reasoning Section 5.1 Exploring Data Measures of central tendency (Mean, Median and Mode) attempt to describe a set of data by identifying the central position within a set of data

More information

Error-Bar Charts from Summary Data

Error-Bar Charts from Summary Data Chapter 156 Error-Bar Charts from Summary Data Introduction Error-Bar Charts graphically display tables of means (or medians) and variability. Following are examples of the types of charts produced by

More information

SAS Visual Analytics 8.2: Working with Report Content

SAS Visual Analytics 8.2: Working with Report Content SAS Visual Analytics 8.2: Working with Report Content About Objects After selecting your data source and data items, add one or more objects to display the results. SAS Visual Analytics provides objects

More information

Using Microsoft Word. Working With Objects

Using Microsoft Word. Working With Objects Using Microsoft Word Many Word documents will require elements that were created in programs other than Word, such as the picture to the right. Nontext elements in a document are referred to as Objects

More information

Learning to use the drawing tools

Learning to use the drawing tools Create a blank slide This module was developed for Office 2000 and 2001, but although there are cosmetic changes in the appearance of some of the tools, the basic functionality is the same in Powerpoint

More information

ENV Laboratory 2: Graphing

ENV Laboratory 2: Graphing Name: Date: Introduction It is often said that a picture is worth 1,000 words, or for scientists we might rephrase it to say that a graph is worth 1,000 words. Graphs are most often used to express data

More information

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide

Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide Paper 809-2017 Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide ABSTRACT Marje Fecht, Prowerk Consulting Whether you have been programming in SAS for years, are new to

More information

3.2 Circle Charts Line Charts Gantt Chart Inserting Gantt charts Adjusting the date section...

3.2 Circle Charts Line Charts Gantt Chart Inserting Gantt charts Adjusting the date section... / / / Page 0 Contents Installation, updates & troubleshooting... 1 1.1 System requirements... 2 1.2 Initial installation... 2 1.3 Installation of an update... 2 1.4 Troubleshooting... 2 empower charts...

More information

Bar Graphs with Two Grouping Variables 1

Bar Graphs with Two Grouping Variables 1 Version 4. Step-by-Step Examples Bar Graphs with Two Grouping Variables 1 The following techniques are demonstrated in this article: Graphing data organized by two grouping variables Reformatting those

More information

SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA

SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA Paper SIB-113 SAS Graphs in Small Multiples Andrea Wainwright-Zimmerman, Capital One, Richmond, VA ABSTRACT Edward Tufte has championed the idea of using "small multiples" as an effective way to present

More information

Charting 1. There are several ways to access the charting function There are three autolayouts which include a chart.

Charting 1. There are several ways to access the charting function There are three autolayouts which include a chart. Charting 1 PowerPoint has an internal charting function. It can create charts from data in most of the common chart types. The biggest advantage is that the data is stored internally in the PowerPoint

More information

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables Select Cases GRAPHS The Select Cases command excludes from further analysis all those cases that do not meet specified selection criteria. Select Cases For a subset of the datafile, use Select Cases. In

More information

SAMLab Tip Sheet #5 Creating Graphs

SAMLab Tip Sheet #5 Creating Graphs Creating Graphs The purpose of this tip sheet is to provide a basic demonstration of how to create graphs with Excel. Excel can generate a wide variety of graphs, but we will use only two as primary examples.

More information

CSV Roll Documentation

CSV Roll Documentation CSV Roll Documentation Version 1.1 March 2015 INTRODUCTION The CSV Roll is designed to display the contents of a Microsoft Excel worksheet in a Breeze playlist. The Excel worksheet must be exported as

More information

Creating a Histogram Creating a Histogram

Creating a Histogram Creating a Histogram Creating a Histogram Another great feature of Excel is its ability to visually display data. This Tip Sheet demonstrates how to create a histogram and provides a general overview of how to create graphs,

More information

Hacking FlowJo VX. 42 Time-Saving FlowJo Shortcuts To Help You Get Your Data Published No Matter What Flow Cytometer It Came From

Hacking FlowJo VX. 42 Time-Saving FlowJo Shortcuts To Help You Get Your Data Published No Matter What Flow Cytometer It Came From Hacking FlowJo VX 42 Time-Saving FlowJo Shortcuts To Help You Get Your Data Published No Matter What Flow Cytometer It Came From Contents 1. Change the default name of your files. 2. Edit your workspace

More information

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA This lab will assist you in learning how to summarize and display categorical and quantitative data in StatCrunch. In particular, you will learn how to

More information

Using ANNOTATE MACROS as Shortcuts

Using ANNOTATE MACROS as Shortcuts Using ANNOTATE MACROS as Shortcuts Arthur L. Carpenter California Occidental Consultants Abstract ANNOTATE macros can provide a shortcut when creating an ANNOTATE data set using assignment statements.

More information

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation

Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Using Annotate Datasets to Enhance Charts of Data with Confidence Intervals: Data-Driven Graphical Presentation Gwen D. Babcock, New York State Department of Health, Troy, NY ABSTRACT Data and accompanying

More information

Desktop Studio: Charts. Version: 7.3

Desktop Studio: Charts. Version: 7.3 Desktop Studio: Charts Version: 7.3 Copyright 2015 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived from,

More information

Working with the RTF Generator

Working with the RTF Generator Using EA Working with the RTF Generator by Dermot O Bryan All material Sparx Systems 2008 Sparx Systems 2008 Page 1 Trademarks Microsoft, Microsoft Word are trademarks or registered trademarks of the Microsoft

More information

Information Technology and Media Services. Office Excel. Charts

Information Technology and Media Services. Office Excel. Charts Information Technology and Media Services Office 2010 Excel Charts August 2014 Information Technology and Media Services CONTENTS INTRODUCTION... 1 CHART TYPES... 3 CHOOSING A CHART... 4 CREATING A COLUMN

More information

How to annotate graphics

How to annotate graphics Paper TU05 How to annotate graphics Sandrine STEPIEN, Quintiles, Strasbourg, France ABSTRACT Graphs can be annotated using different functions that add graphics elements to the output. Amongst other things,

More information

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2 19 CHAPTER 2 Loading Data Introduction 19 Understanding the Volume Grid 19 Loading Data Representing a Complete Grid 20 Loading Data Representing an Incomplete Grid 21 Loading Sparse Data 23 Understanding

More information

Usinq the VBAR and BBAR statements and the TEMPLATE Facility to Create side-by-side, Horizontal Bar Charts with Shared Vertical Axes Labels

Usinq the VBAR and BBAR statements and the TEMPLATE Facility to Create side-by-side, Horizontal Bar Charts with Shared Vertical Axes Labels Usinq the VBAR and BBAR statements and the TEMPLATE Facility to Create side-by-side, Horizontal Bar Charts with Shared Vertical Axes Labels Lela M. Brown, University of Oklahoma ABSTRACT PRoe GREPLAY's

More information

Capstone Appendix. A guide to your lab computer software

Capstone Appendix. A guide to your lab computer software Capstone Appendix A guide to your lab computer software Important Notes Many of the Images will look slightly different from what you will see in lab. This is because each lab setup is different and so

More information

Scottish Improvement Skills

Scottish Improvement Skills Scottish Improvement Skills Creating a run chart on MS Excel 2007 Create and save a new Excel worksheet. Some of the details of steps given below may vary slightly depending on how Excel has been used

More information

Taming the Box Plot. Sanjiv Ramalingam, Octagon Research Solutions, Inc., Wayne, PA

Taming the Box Plot. Sanjiv Ramalingam, Octagon Research Solutions, Inc., Wayne, PA Taming the Box Plot Sanjiv Ramalingam, Octagon Research Solutions, Inc., Wayne, PA ABSTRACT Box plots are used to portray the range, quartiles and outliers if any in the data. PROC BOXPLOT can be used

More information

Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study)

Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study) Chapter 13 Introduction to Graphics Using SAS/GRAPH (Self-Study) 13.1 Introduction... 2 13.2 Creating Bar and Pie Charts... 8 13.3 Creating Plots... 20 13-2 Chapter 13 Introduction to Graphics Using SAS/GRAPH

More information

Desktop Studio: Charts

Desktop Studio: Charts Desktop Studio: Charts Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Working with Charts i Copyright 2011 Intellicus Technologies This document

More information

Open a new Excel workbook and look for the Standard Toolbar.

Open a new Excel workbook and look for the Standard Toolbar. This activity shows how to use a spreadsheet to draw line graphs. Open a new Excel workbook and look for the Standard Toolbar. If it is not there, left click on View then Toolbars, then Standard to make

More information

Graphing Single Subject Research Data. AAC Colloquium October 18 th, 2017

Graphing Single Subject Research Data. AAC Colloquium October 18 th, 2017 Graphing Single Subject Research Data AAC Colloquium October 18 th, 2017 Set up the spreadsheet Input the data Graph Harry s data Click and hold, then drag to select Harry s data Just for the top graph

More information

A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures

A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures A Juxtaposition of Tables and Graphs Using SAS /GRAPH Procedures Suhas R. Sanjee, MaxisIT Inc., Edison, NJ Sheng Zhang, Merck and Co., Upper Gwynedd, PA ABSTRACT Graphs provide high-impact visuals that

More information

IGCSE ICT Section 16 Presentation Authoring

IGCSE ICT Section 16 Presentation Authoring IGCSE ICT Section 16 Presentation Authoring Mr Nicholls Cairo English School P a g e 1 Contents Importing text to create slides Page 4 Manually creating slides.. Page 5 Removing blank slides. Page 5 Changing

More information

Chapter 6: DESCRIPTIVE STATISTICS

Chapter 6: DESCRIPTIVE STATISTICS Chapter 6: DESCRIPTIVE STATISTICS Random Sampling Numerical Summaries Stem-n-Leaf plots Histograms, and Box plots Time Sequence Plots Normal Probability Plots Sections 6-1 to 6-5, and 6-7 Random Sampling

More information

HOUR 12. Adding a Chart

HOUR 12. Adding a Chart HOUR 12 Adding a Chart The highlights of this hour are as follows: Reasons for using a chart The chart elements The chart types How to create charts with the Chart Wizard How to work with charts How to

More information

Chapter 2 - Graphical Summaries of Data

Chapter 2 - Graphical Summaries of Data Chapter 2 - Graphical Summaries of Data Data recorded in the sequence in which they are collected and before they are processed or ranked are called raw data. Raw data is often difficult to make sense

More information

Manual. empower charts 6.4

Manual. empower charts 6.4 Manual empower charts 6.4 Contents 1 Introduction... 1 2 Installation, updates and troubleshooting... 1 2.1 System requirements... 1 2.2 Initial installation... 1 2.3 Installation of an update... 1 2.4

More information

Creating Maps in SAS/GRAPH

Creating Maps in SAS/GRAPH Creating Maps in SAS/GRAPH By Jeffery D. Gilbert, Trilogy Consulting Corporation, Kalamazoo, MI Abstract This paper will give an introduction to creating graphs using the PROC GMAP procedure in SAS/GRAPH.

More information

Since its earliest days about 14 years ago Access has been a relational

Since its earliest days about 14 years ago Access has been a relational Storing and Displaying Data in Access Since its earliest days about 14 years ago Access has been a relational database program, storing data in tables and using its own queries, forms, and reports to sort,

More information

SHOW ME THE NUMBERS: DESIGNING YOUR OWN DATA VISUALIZATIONS PEPFAR Applied Learning Summit September 2017 A. Chafetz

SHOW ME THE NUMBERS: DESIGNING YOUR OWN DATA VISUALIZATIONS PEPFAR Applied Learning Summit September 2017 A. Chafetz SHOW ME THE NUMBERS: DESIGNING YOUR OWN DATA VISUALIZATIONS PEPFAR Applied Learning Summit September 2017 A. Chafetz Overview In order to prepare for the upcoming POART, you need to look into testing as

More information

CREATING A POWERPOINT PRESENTATION BASIC INSTRUCTIONS

CREATING A POWERPOINT PRESENTATION BASIC INSTRUCTIONS CREATING A POWERPOINT PRESENTATION BASIC INSTRUCTIONS By Carolyn H. Brown This document is created with PowerPoint 2013/15 which includes a number of differences from earlier versions of PowerPoint. GETTING

More information

Tools of Design Select Mode vs. Text Mode Select Mode allows you to alter the position and size of both text and clipart Text Mode allows you change text size, font and characters but you CANNOT

More information

WORD Creating Objects: Tables, Charts and More

WORD Creating Objects: Tables, Charts and More WORD 2007 Creating Objects: Tables, Charts and More Microsoft Office 2007 TABLE OF CONTENTS TABLES... 1 TABLE LAYOUT... 1 TABLE DESIGN... 2 CHARTS... 4 PICTURES AND DRAWINGS... 8 USING DRAWINGS... 8 Drawing

More information

SAS/GRAPH Introduction. Winfried Jakob, SAS Administrator Canadian Institute for Health Information

SAS/GRAPH Introduction. Winfried Jakob, SAS Administrator Canadian Institute for Health Information SAS/GRAPH Introduction Winfried Jakob, SAS Administrator Canadian Institute for Health Information 1 Agenda Overview Components of SAS/GRAPH Software Device-Based vs. Template-Based Graphics Graph Types

More information

Presentation Quality Graphics with SAS/GRAPH

Presentation Quality Graphics with SAS/GRAPH Presentation Quality Graphics with SAS/GRAPH Keith Cranford, Marquee Associates, LLC Abstract The SASI GRAP~ Annotate Facilily along with hardware fonts can be used to produce presentation qualily graphics

More information

SAS Graph: Introduction to the World of Boxplots Brian Spruell, Constella Group LLC, Durham, NC

SAS Graph: Introduction to the World of Boxplots Brian Spruell, Constella Group LLC, Durham, NC DP06 SAS Graph: Introduction to the orld of Boxplots Brian Spruell, Constella Group C, Durham, NC ABSTRACT Boxplots provide a graphical representation of a data s distribution. Every elementary statistical

More information

1.2. Pictorial and Tabular Methods in Descriptive Statistics

1.2. Pictorial and Tabular Methods in Descriptive Statistics 1.2. Pictorial and Tabular Methods in Descriptive Statistics Section Objectives. 1. Stem-and-Leaf displays. 2. Dotplots. 3. Histogram. Types of histogram shapes. Common notation. Sample size n : the number

More information

The GIMPORT Procedure

The GIMPORT Procedure 705 CHAPTER 17 The GIMPORT Procedure Overview 705 Concepts 706 About Importing Graphics 706 Specifying a Fileref 706 Importing the File 706 CGM Elements Not Supported 707 About Color Mapping 707 About

More information

Excel 2013 Intermediate

Excel 2013 Intermediate Instructor s Excel 2013 Tutorial 2 - Charts Excel 2013 Intermediate 103-124 Unit 2 - Charts Quick Links Chart Concepts Page EX197 EX199 EX200 Selecting Source Data Pages EX198 EX234 EX237 Creating a Chart

More information

From Getting Started with the Graph Template Language in SAS. Full book available for purchase here.

From Getting Started with the Graph Template Language in SAS. Full book available for purchase here. From Getting Started with the Graph Template Language in SAS. Full book available for purchase here. Contents About This Book... xi About The Author... xv Acknowledgments...xvii Chapter 1: Introduction

More information

ABSTRACT INTRODUCTION SESUG RV

ABSTRACT INTRODUCTION SESUG RV ABSTRACT SESUG RV-42-2017 Methods for Creating Sparklines using SAS Rick Andrews, Centers for Medicare and Medicaid Services, Baltimore, MD Louise Hadden, Abt Associates, Inc., Cambridge, MA Robert Allison,

More information

Excel Core Certification

Excel Core Certification Microsoft Office Specialist 2010 Microsoft Excel Core Certification 2010 Lesson 6: Working with Charts Lesson Objectives This lesson introduces you to working with charts. You will look at how to create

More information

Getting Started. What is SAS/SPECTRAVIEW Software? CHAPTER 1

Getting Started. What is SAS/SPECTRAVIEW Software? CHAPTER 1 3 CHAPTER 1 Getting Started What is SAS/SPECTRAVIEW Software? 3 Using SAS/SPECTRAVIEW Software 5 Data Set Requirements 5 How the Software Displays Data 6 Spatial Data 6 Non-Spatial Data 7 Summary of Software

More information

MICROSOFT EXCEL Working with Charts

MICROSOFT EXCEL Working with Charts MICROSOFT EXCEL 2010 Working with Charts Introduction to charts WORKING WITH CHARTS Charts basically represent your data graphically. The data here refers to numbers. In Excel, you have various types of

More information

ODS LAYOUT is Like an Onion

ODS LAYOUT is Like an Onion Paper DP03_05 ODS LAYOUT is Like an Onion Rich Mays, University of Rochester Medical Center, Rochester, NY Abstract ODS LAYOUT is like an onion. They both make you cry? No! They both have layers! In version

More information

Publishing Electronic Portfolios using Adobe Acrobat 5.0

Publishing Electronic Portfolios using Adobe Acrobat 5.0 Step-by-Step Publishing Electronic Portfolios using Adobe Acrobat 5.0 2002, Helen C. Barrett Here is the process we will use to publish a digital portfolio using Adobe Acrobat. The portfolio will include

More information