Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Creating Statistical Graphs > 7.10 Changing the Format of a Graph Ax...

7.10 Changing the Format of a Graph Axis

Suppose that a variable in a SAS data set has a SAS format (for example, the DATE7. format). How can you get the scatter plot to display the formatted values shown in Figure 7.17? There are two ways. The preferred way is to create the scatter plot from an object of the DataObject class; the scatter plot automatically uses the format that is associated with a variable in a data object.

However, if you use the READ statement to create a SAS/IML vector from a variable with a SAS format, the vector contains the raw data, not the formatted values. Consequently, a graph that you create from that vector does not display any formatted values. For example, the following program creates Figure 7.16:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint