Chapter 25 Editing Windows. Chapter Table of Contents

Similar documents
Chapter 23 Animating Graphs. Chapter Table of Contents ANIMATING SELECTION OF OBSERVATIONS ANIMATING SELECTED GRAPHS...347

CREATING THE DISTRIBUTION ANALYSIS

Chapter 27 Saving and Printing Graphics

Chapter 28 Saving and Printing Tables. Chapter Table of Contents SAVING AND PRINTING TABLES AS OUTPUT OBJECTS OUTPUT OBJECTS...

CREATING THE ANALYSIS

Chapter 2 User Interface Features. networks Window. Drawing Panel

Data Representation. Variable Precision and Storage Information. Numeric Variables in the Alpha Environment CHAPTER 9

Chapter 6 Creating Reports. Chapter Table of Contents

Chapter 3 Managing Results in Projects. Chapter Table of Contents

APPENDIX 2 Customizing SAS/ASSIST Software

Graphics. Chapter Overview CHAPTER 4

Chapter 41 SAS/INSIGHT Statements. Chapter Table of Contents

Overview. CHAPTER 2 Using the SAS System and SAS/ ASSIST Software

Chapter 25 PROC PARETO Statement. Chapter Table of Contents. OVERVIEW SYNTAX SummaryofOptions DictionaryofOptions...

Formats. Formats Under UNIX. HEXw. format. $HEXw. format. Details CHAPTER 11

Chapter 13 Multivariate Techniques. Chapter Table of Contents

Using Data Transfer Services

CHAPTER 13 Importing and Exporting External Data

Enterprise Miner Software: Changes and Enhancements, Release 4.1

Introduction. LOCK Statement. CHAPTER 11 The LOCK Statement and the LOCK Command

Permission Program. Support for Version 6 Only. Allowing SAS/SHARE Client Access to SAS Libraries or Files CHAPTER 40

SCL Arrays. Introduction. Declaring Arrays CHAPTER 4

Using the SQL Editor. Overview CHAPTER 11

Introduction. CHAPTER 3 Working in the SAS Windowing Environment

Chapter 15 Mixed Models. Chapter Table of Contents. Introduction Split Plot Experiment Clustered Data References...

The EXPLODE Procedure

SAS/ASSIST Software Setup

SAS Web Report Studio 3.1

Using Cross-Environment Data Access (CEDA)

SAS Universal Viewer 1.3

Tasks Menu Reference. Introduction. Data Management APPENDIX 1

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

SAS Catalogs. Definition. Catalog Names. Parts of a Catalog Name CHAPTER 32

SAS File Management. Improving Performance CHAPTER 37

Informats. Informats Under UNIX. HEXw. informat. $HEXw. informat. Details CHAPTER 13

SAS. IT Service Level Management 2.1: Migration Documentation

DBLOAD Procedure Reference

Data Set Options. Specify a data set option in parentheses after a SAS data set name. To specify several data set options, separate them with spaces.

The correct bibliographic citation for this manual is as follows: SAS Institute Inc Proc EXPLODE. Cary, NC: SAS Institute Inc.

SAS Publishing SAS. Forecast Studio 1.4. User s Guide

Chapter 7 File Access. Chapter Table of Contents

Choosing the Right Procedure

The GTESTIT Procedure

SAS Business Rules Manager 1.2

SAS Workflow Manager 2.2: Administrator s Guide

Macro Facility. About the Macro Facility. Automatic Macro Variables CHAPTER 14

SAS I/O Engines. Definition. Specifying a Different Engine. How Engines Work with SAS Files CHAPTER 36

External Files. Definition CHAPTER 38

Optimizing System Performance

Introduction to MDDBs

SAS Infrastructure for Risk Management 3.4: User s Guide

SAS Structural Equation Modeling 1.3 for JMP

Storing and Reusing Macros

JMP 12.1 Quick Reference Windows and Macintosh Keyboard Shortcuts

SAS Support for TELNET on Windows

The G4GRID Procedure. Introduction APPENDIX 1

Chapter 28 INSET Statement. Chapter Table of Contents

Using SAS Files. Introduction CHAPTER 5

Licensing SAS DataFlux Products

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

SAS Graphics Accelerator: User s Guide

Examples That Use Remote Objecting

Scientific Graphing in Excel 2007

The TRANTAB Procedure

Routing Output. Producing Output with SAS Software CHAPTER 6

SAS Data Integration Studio 3.3. User s Guide

SAS/STAT 13.1 User s Guide. The Power and Sample Size Application

Creating and Executing Stored Compiled DATA Step Programs

QUEST Procedure Reference

Scientific Graphing in Excel 2013

The HOME Tab: Cut Copy Vertical Alignments

Alternative ODS HTML Statements for Running Examples in Different Operating Environments

Chapter 9 Selected Examples. Queues with Reneging

Section 1 Microsoft Excel Overview

Years after US Student to Teacher Ratio

Chapter 28 Command Reference. Chapter Table of Contents TSVIEW COMMAND FORECAST COMMAND

Getting Started with SAS Factory Miner 14.2

from the source host, use the FTP put command to copy a file from the source host to the target host.

CHAPTER 7 Using Other SAS Software Products

Microsoft Visio 2016 Foundation. Microsoft Visio 2016 Foundation Level North American Edition SAMPLE

SAS Model Manager 2.2. Tutorials

SAS/ACCESS Interface to R/3

SAS Business Rules Manager 2.1

Routing the SAS Log and SAS Procedure Output

Chapter 23 Introduction to the OPTEX Procedure

SYSTEM 2000 Essentials

Handling Exceptions. Introduction. Using the Program Halt Handler CHAPTER 10

GCC vinyl cutter, cutting plotter for sign making

SAS IT Resource Management 3.3

SAS Web Infrastructure Kit 1.0. Overview

Creating a Title Block & Border Using Chief Architect. Architectural Design & Residential Construction Penncrest High School

CHAPTER 7 Examples of Combining Compute Services and Data Transfer Services

Microsoft PowerPoint 2002

The TIMEPLOT Procedure

SAS Visual Analytics 6.1

Designed by Jason Wagner, Course Web Programmer, Office of e-learning NOTE ABOUT CELL REFERENCES IN THIS DOCUMENT... 1

Introduction to Excel 2013

Technology Assignment: Scatter Plots

OS/390 Platform Examples

Transcription:

Chapter 25 Editing Windows Chapter Table of Contents ZOOMING WINDOWS...368 RENEWING WINDOWS...375 ADDING AND DELETING...378 MOVING AND SIZING...385 ALIGNING GRAPHS...391 365

Part 2. Introduction 366

Chapter 25 Editing Windows SAS/INSIGHT software provides many ways to edit the contents of your analysis windows. You can zoom in and out to see more or less detail. You can move, resize, add, and delete graphs and tables. You can align graphs. If you change your mind about your window layout, you can renew any window to restore its original state. Figure 25.1. Adding a Graph to a Window 367

Part 2. Introduction Zooming Windows Zooming a window means adjusting the focus to make objects in the window larger or smaller. Zooming is most useful when you want to see more detail. For example, you may use zooming to explore data in a scatter plot matrix. =) Open the GPA data set. This data set contains college grade point averages, high school math, science, and English averages, and SAT scores of first-year college students. =) Select all the variables. Click on the variables count in the upper left corner. Figure 25.2. Selecting All Variables =) Choose Analyze:Scatter Plot ( Y X ). This creates a seven-by-seven scatter plot matrix. 368

Chapter 25. Zooming Windows Figure 25.3. Scatter Plot Matrix Some of these plots show interesting patterns. However, it is difficult to see the plots when they are so small. To change the size of the plots, follow these steps. =) Choose Edit:Windows:Tools. 369

Part 2. Introduction File Edit Analyze Tables Graphs Curves Vars Help Windows Variables Observations Formats Copy Delete Renew... Copy Window Align Animate... Freeze Select All Tools Fonts Display Options... Window Options... Graph Options... Figure 25.4. Edit:Windows Menu This displays the Tools window. At the top, the window contains three tools, each indicating a different mode of operation. To select and identify objects, use the arrow. To manipulate objects, use the hand. To zoom, use the magnifying glass. =) Click on the magnifying glass in the Tools window. Now the magnifying glass in the window is highlighted, and the cursor changes from an arrow to a magnifying glass. Figure 25.5. Tools Window =) Move the magnifying glass to the center of the window and click several times. When it is near the center of the window, the magnifying glass is large. 370

Chapter 25. Zooming Windows Clicking near the center makes objects larger. Figure 25.6. Zooming In =) Move the magnifying glass to the edge of the window and click several times. When it is near the edge of the window, the magnifying glass is small. Clicking near the edge makes objects smaller until all objects fit in the window. 371

Part 2. Introduction Figure 25.7. Zooming Out =) Click several times between the center and the edge of the window. The degree of magnification is proportional to the distance of your cursor from the center or the edge of the window. Clicking between the center and the edge makes fine adjustments. By clicking in this area, you can give the plots exactly the size you want. 372

Chapter 25. Zooming Windows Figure 25.8. Making Fine Adjustments To zoom in on a specific area, you can drag a rectangle with the magnifying glass. =) Drag a rectangle around the plot of GPA versus HSM. On some hosts, to drag a rectangle it is necessary to begin moving the mouse as soon as you depress the mouse button. 373

Part 2. Introduction Figure 25.9. Zooming in on GPA versus HSM You can restore the original size of the plots by clicking repeatedly near the edge of the window. If you prefer, instead of clicking repeatedly, you can press the mouse button down and hold it down. On most hosts, holding has the same effect as repeated clicks. When you have zoomed in far, you may find it easier to Renew the window, as described in the next section. 374

Chapter 25. Renewing Windows Renewing Windows Renewing restores the original state of the window. Renewing also gives you the opportunity to change the variables and options used to create the window. =) Restore the arrow tool by clicking on the arrow button in the Tools window. =) Choose Edit:Windows:Renew. File Edit Analyze Tables Graphs Curves Vars Help Windows Variables Observations Formats Copy Delete Renew... Copy Window Align Animate... Freeze Select All Tools Fonts Display Options... Window Options... Graph Options... Figure 25.10. Edit:Windows Menu This displays the Scatter Plot variables dialog used to create the window. Figure 25.11. Scatter Plot Variables Dialog 375

Part 2. Introduction =) Click OK to re-create the scatter plot matrix at its original size, as shown in Figure 25.3. You can also use Edit:Windows:Renew to adjust variables and options associated with your window. =) Choose Edit:Windows:Renew again to display the variables dialog. =) In the dialog, select SATM, SATV,andSEX in both Y and X lists. =) Click Remove to remove these variables. Figure 25.12. Removing Variables =) Click Output to display the output options dialog. =) In the options dialog, click on the Labels button to display variable labels. Figure 25.13. Setting Variable Labels =) Click OK in both dialogs to renew the window. The matrix that was seven-by-seven is now four-by-four, and it displays variable labels instead of names. 376

Chapter 25. Renewing Windows Figure 25.14. Renewed Window To reset the scatter plot output to display variable names again, follow the same steps to display the scatter plot options dialog, then click on the Names button under Variable: in the dialog. Related Reading: Scatter Plot Matrix, Chapter 5, Chapter 35. 377

Part 2. Introduction Adding and Deleting Many windows contain Graphs and Tables menus that enable you to add the most commonly used graphs and tables to any window. For example, in the Fit window you can add residual plots; in the Distribution window you can add tests for distributions. If a graph you need is not listed in the Graphs menu, you can use the Analyze menu to add any graph to any window. For example, suppose you want to create a scatter plot with marginal histograms. To create this combination of graphs, first create a distribution analysis on two variables. =) Choose Analyze:Distribution ( Y ). File Edit Analyze Tables Graphs Curves Vars Help Histogram/Bar Chart ( Y ) Box Plot/Mosaic Plot ( Y ) Line Plot ( Y X ) Scatter Plot ( Y X ) Contour Plot ( Z Y X ) Rotating Plot ( Z Y X ) Distribution ( Y ) Fit(YX) Multivariate ( Y X ) Figure 25.15. Analyze Menu This displays the Distribution variables dialog. =) Select GPA and HSM, then click the Y button. This assigns GPA and HSM the Y role in the Distribution analysis. Figure 25.16. Distribution Variables Dialog 378

Chapter 25. Adding and Deleting =) Click the Output button. This displays the output options dialog. =) In the output dialog, turn off all options except Histogram/Bar Chart. Figure 25.17. Output Options Dialog 379

Part 2. Introduction =) Click OK in both dialogs to create the distribution analysis. Figure 25.18. Distribution Window Now you have a distribution window with two histograms. To add a scatter plot of both variables, follow these steps. =) Drag the bottom right corner of the window to the right. This increases the window size to provide blank space to the right of the histograms. =) Drag a rectangle to select an area in the window. 380

Chapter 25. Adding and Deleting Figure 25.19. Area Selected =) Choose Analyze:Scatter Plot ( Y X ). This displays the scatter plot variables dialog. =) In the dialog, assign GPA the Y role, and HSM the X role. =) Click OK to add the scatter plot to the distribution window. 381

Part 2. Introduction Figure 25.20. Distribution Window with Scatter Plot You can delete any graph or table in the distribution window. For example, in this window the two small tables that contain variable names are not needed. =) Click on any edge of the GPA table to select it. =) Use extended selection to select the HSM table also. 382

Chapter 25. Adding and Deleting Figure 25.21. Tables Selected =) Choose Edit:Delete to delete the tables. File Edit Analyze Tables Graphs Curves Vars Help Windows Variables Observations Formats Copy Delete Figure 25.22. Edit:Windows Menu 383

Part 2. Introduction Figure 25.23. Tables Deleted By choosing from the Analyze menu and choosing Edit:Delete, you have created a window containing one scatter plot and two histograms. In the same manner, you can add any graph and delete any graph or table in a window. 384

Chapter 25. Moving and Sizing Moving and Sizing Now you have a window containing one scatter plot and two histograms. To make marginal histograms, you should position the graphs so that common axes are parallel. You can move any graph or table by dragging on its side. =) Drag thehsm histogram below the scatter plot. Press the mouse button down on any side of the histogram. Move the mouse to the right. Release the mouse button when you have the histogram positioned below the scatter plot. Figure 25.24. Histogram Moved Now the histogram is in approximately the right place, but it is too large and its orientation is wrong. A marginal histogram should be smaller and the bars should be pointing downward. You can resize and reorient any graph by dragging on a corner. =) Drag the lower right corner of the HSM histogram upward. Press the mouse button down on the lower right corner. Move the mouse upward. Release the mouse button when the histogram is about half its original size. 385

Part 2. Introduction Figure 25.25. Histogram Resized To change the orientation of the histogram, you can flip it over by dragging one corner across another. =) Drag the upper right corner down past the lower right corner. This flips the histogram so that the bars are pointing downward. 386

Chapter 25. Moving and Sizing Figure 25.26. Histogram Reoriented Now you have a scatter plot and one marginal histogram. To orient the other histogram correctly requires two flips. =) Drag the upper left corner of the GPA histogram past the lower right corner. This flips the histogram across its diagonal. The bars that were vertical are now horizontal. 387

Part 2. Introduction Figure 25.27. Histogram Reoriented =) Drag the upper right corner left past the upper left corner. This flips the histogram so that the bars are pointing to the left. 388

Chapter 25. Moving and Sizing Figure 25.28. Histogram Reoriented =) Size and move both histograms to the margins of the scatter plot. 389

Part 2. Introduction Figure 25.29. Scatter Plot with Marginal Histograms Now both histograms are correctly oriented and placed at the margins of the scatter plot. 390

Chapter 25. Aligning Graphs Aligning Graphs Now that you have created a scatter plot with marginal histograms, you may notice that the axes are not perfectly aligned. For example, the tick label 1.5 in the HSM histogram appears to the right of the tick label 2 in the scatter plot. Similarly, the tick label6.20inthegpa histogram appears below the tick label 6.00 in the scatter plot. This occurs because, by default, axes are chosen to maximize the display of the data. You can override this behavior to align axes in different graphs. =) Click once in any empty area to deselect the histogram. =) Choose Edit:Windows:Align. This aligns the HSM and GPA axes in all graphs. Figure 25.30. Graphs Aligned You can align any axes that display the same variable. When you do not want to align all axes in a window, select the axes of interest before choosing Edit:Windows:Align. Once you have moved, sized, added, deleted, and aligned objects in your windows, you will often want to save and print them. The next three chapters describe how to save and print data, graphs, and tables. 391

The correct bibliographic citation for this manual is as follows: SAS Institute Inc., SAS/ INSIGHT User s Guide, Version 8, Cary, NC: SAS Institute Inc., 1999. 752 pp. SAS/INSIGHT User s Guide, Version 8 Copyright 1999 by SAS Institute Inc., Cary, NC, USA. ISBN 1 58025 490 X All rights reserved. Printed in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of the software by the government is subject to restrictions as set forth in FAR 52.227 19 Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st printing, October 1999 SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. The Institute is a private company devoted to the support and further development of its software and related services.