O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SAS ODS Graphics Designer by Example

Book Description

You just got the results from your study, and need to get some quick graphical views of your data before you begin the analysis. Do you need a crash course in the SG procedures (also known as ODS Graphics procedures) just to get a simple histogram? What should you do? The ODS Graphics Designer is the answer. With this application, you can use the interactive drag-and-drop feature to create many graphs, including histograms, box plots, scatter plot matrices, classification panels, and more. You can render your graph in batch with new data and output the results to any open ODS destination, or view the generated Graph Template Language (GTL) code as a leg-up to GTL programming. You can do all this with ease! SAS(R) ODS Graphics Designer by Example: A Visual Guide to Creating Graphs Interactively describes in detail the features of the ODS Graphics Designer. The designer application lets you, the analyst, create graphs interactively so that you can focus on the analysis, and not on learning graph syntax. This book will take you step-by-step through the features of the designer, providing you with examples of graphs that are commonly used for the analysis of data in the health care, life sciences, and finance industries. The examples in this book will help you create just the right graph with ease!

Table of Contents

  1. Preface
  2. About this Book
  3. About the Author
  4. Acknowledgments
  5. Chapter 1: Introduction to Creating Graphs
  6. The Value of a Graph
  7. Automatic Graphs
  8. Creating Graphs Using the Graph Template Language
  9. Creating Graphs Using the Statistical Graphics Procedures
  10. Creating Graphs Using the SAS ODS Graphics Designer
  11. Effective Graphics and the Use of Decorative Skins
  12. Chapter 2: Using the Designer
  13. Start the Designer
  14. Designer Graphical User Interface
    1. Menus and Toolbar
    2. Graph Gallery
    3. Elements Pane: Plots and Insets
    4. Right-Click Pop-Up Menus
  15. Create a Graph
  16. Graph Terminology
  17. Basic Concepts and Task Workflow
  18. Graph Types and Layouts
  19. Parameters Available for the SGDESIGN Macro
  20. Chapter 3: Create Your First Graph
  21. About This Example
  22. Create Your Graph
    1. Create a Histogram from the Graph Gallery
    2. Assign Data to the Histogram
    3. Change the Title and Remove the Footnote
    4. Add Plots to the Graph
    5. Set Plot Properties
    6. Add and Modify a Legend
    7. Add a Row to the Graph
    8. Add a Horizontal Box Plot to the Empty Cell
    9. Use a Common X Axis
    10. View the GTL Code
    11. Copy and Paste the Graph to Another Application
    12. Save the Graph to a File
    13. Save the Graph in the Graph Gallery
    14. Run the Graph in Batch Mode
  23. Chapter 4: Understanding Plot Types, Data Roles, and the Visual Properties of a Graph
  24. Review of the Process for Creating Graphs
  25. Plots and Insets Groups
    1. Basic Plots
    2. Fit Plots
    3. Distribution Plots
    4. Categorization Plots
    5. Other Plots
    6. Insets
    7. Summary of Combining Plots and Insets
  26. Data Assignment When Adding a Plot
  27. Data Assignment from the Pop-Up Menu
  28. Custom Features of Other Assign Data Dialog Boxes
    1. Fit an Existing Plot
    2. Model Band Options
    3. Statistics Data in the Assign Data Dialog Box
  29. Visual Properties of a Graph
  30. Styles and Style Elements
    1. Overview of Styles and Style Elements
    2. Commonly Used Style Elements
  31. Properties That Affect the Entire Graph
  32. Plot Properties
  33. Chapter 5: Classification Panels and Multi-Cell Graphs
  34. About Classification Panels
  35. Create a Classification Panel
    1. About This Example
    2. Create the Graph, Add a Highlow Plot, and Specify the Panel Variable
    3. Add Titles to the Graph
    4. Modify the Axis Properties
    5. Apply a Different Style to the Graph
  36. About Multi-Cell Graphs
  37. Create a Multi-Cell Graph
    1. About This Example
    2. Create the Graph
    3. Apply a Different Style to the Graph
    4. Change the Marker Symbol for the Scatter Plots
    5. Add a Discrete Legend to the Cell
    6. Add a Global Legend to the Graph
    7. Add an Axis Table in a Separate Cell
    8. Customize the Titles and Remove the Footnote
  38. Chapter 6: Auto Charts: Bulk Generation of Charts
  39. About Auto Charts and Bulk Generation of Charts
  40. The Auto Charts Window
  41. About the Auto Charts Example
  42. Generate Bulk Graphs
  43. Customize Your Graph
    1. Create Your Graph
    2. Add an Axis Table to the Graph
    3. Customize the Titles
  44. Chapter 7: Advanced Features
  45. About the Advanced Features
  46. Overview of Graph Reuse
  47. Create a Shared-Variable Graph with a Dynamic Title
    1. Create the Shared-Variable Graph
    2. Add Cells and Plots to the Graph
    3. Assign a Different Variable to the Graph
    4. Add a Dynamic Title and Save the Graph
    5. Generate the Graph Using the SGDESIGN Procedure
  48. Customize the Axes
    1. About This Example
    2. Create the Graph
    3. Customize the Axis Properties
    4. Add an Axis Table to the Graph
  49. Customize the Appearance of Grouped Data
    1. About This Example
    2. Create the Graph
    3. Change the Bar Fill and Outline Color Group Attributes
  50. Where to Go from Here
  51. Appendix: Code for Select Examples
  52. Code for the First Example in Chapter 1
  53. Code for the Classification Panel Example in Chapter 5
  54. Code for the Survival Plot Example in Chapter 5
  55. Code for the Axis Customization in Chapter 7
  56. Index