home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 3919 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.8 KB  |  45 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!gumby!yale!yale.edu!jvnc.net!darwin.sura.net!paladin.american.edu!auvm!LIVERPOOL.AC.UK!SBYRNE
  3. Via: uk.ac.liverpool.ibm; Thu, 27 Aug 1992 12:42:27 +0100
  4. Message-ID: <SAS-L%92082707450445@VTVM2.BITNET>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Thu, 27 Aug 1992 12:38:28 BST
  7. Reply-To:     Sue Byrne <SBYRNE@LIVERPOOL.AC.UK>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         Sue Byrne <SBYRNE@LIVERPOOL.AC.UK>
  10. Subject:      Summary of SAS GRAPH Dates on axes Responses
  11. Comments: To: SAS-L@VTVM2.CC.VT.EDU
  12. Lines: 31
  13.  
  14. I posted a query yesterday regarding SAS Graph and dates on axes,
  15. a summary of which follows:
  16.  
  17. One of our users has written a SAS program to plot average temperatures
  18. against dates for the time period 1Aug89 to 31July90.
  19. The plot is produced fine, but the x-axis is automatically labelled with
  20. the following values: 27JUL89 04NOV89 12FEB90 23MAY90 31AUG90.
  21. The user would prefer the labels to be displayed
  22. as the first of a month, eg 01Aug89 01Oct89 01Dec89 01Feb90 .. etc.
  23. The question we are asking is how to get SAS Graph to allow us to specify
  24. which actual date values are used to mark the x axis.
  25.  
  26. Thanks to the following people who mailed me with solutions:
  27. Kernon Gibes, Steve Masters, Don MacQueen and Rodney.
  28.  
  29. The solution:
  30. HAXIS='01Aug89'd TO '01Aug90'd by month
  31. is extremely neat for displaying the first of each month on the axis.
  32.  
  33. Another solution:
  34. HAXIS='01Aug89'd '01Oct89'd '01Dec89'd '01Feb90'd '01Apr90'd
  35.       '01Jun90'd '01Aug90'd
  36. is just what we want for displaying date information on the axis.
  37.  
  38. The facility to use the 'ddMONyy' form of a date within the axis
  39. specification is described in SAS Graph Reference Version 6 Manual,
  40. Volume 1, pages 224 to 226.
  41.  
  42. Regards, Sue Byrne
  43. University of Liverpool,
  44. England, U.K.
  45.