O'Reilly logo

SAS Essentials: Mastering SAS for Data Analytics, 2nd Edition by Wayne A. Woodward, Alan C. Elliott

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

APPENDIX A

OPTIONS REFERENCE

This appendix is a brief reference to a number of SAS® elements used in graphs and other procedures. These elements allow you visual control over many of the graphs produced in SAS procedures. Not all of the options for these elements are listed in this appendix. Refer to the SAS documentation for further information. The elements included in this appendix are as follows:

  • Fonts
  • Color options
  • Graph patterns
  • Bar and block patterns
  • Line styles
  • Plot symbols
  • Informats and formats

A.1 USING SAS FONTS

Several standard SAS fonts are illustrated in Figure A.1. These are typical fonts for a Windows computer. The fonts available to you may differ according to your Windows and SAS versions.

bapp01f001

Figure A.1 Example SAS fonts.

(Source: Created with SAS® software, Version 9.4. Copyright 2012, SAS Institute Inc., Cary, NC, USA. All Rights Reserved. Reproduced with permission of SAS Institute Inc., Cary, NC)

Use these fonts in any statement that allows the specification of a font. For example,

TITLE1 F="SWISS" “This is an example use of the SWISS font.”;

In Windows, you can also specify any installed font on your machine. For example, the following statement uses the Times New Roman font.

TITLE F="TIMES" “This is an example use of the TIMES font.”;

You can also specify height and color in such statements. (The default height is usually H=1.) For example,

TITLE1 ...

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

Start Free Trial

No credit card required