home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- 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
- Via: uk.ac.liverpool.ibm; Thu, 27 Aug 1992 12:42:27 +0100
- Message-ID: <SAS-L%92082707450445@VTVM2.BITNET>
- Newsgroups: bit.listserv.sas-l
- Date: Thu, 27 Aug 1992 12:38:28 BST
- Reply-To: Sue Byrne <SBYRNE@LIVERPOOL.AC.UK>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Sue Byrne <SBYRNE@LIVERPOOL.AC.UK>
- Subject: Summary of SAS GRAPH Dates on axes Responses
- Comments: To: SAS-L@VTVM2.CC.VT.EDU
- Lines: 31
-
- I posted a query yesterday regarding SAS Graph and dates on axes,
- a summary of which follows:
-
- One of our users has written a SAS program to plot average temperatures
- against dates for the time period 1Aug89 to 31July90.
- The plot is produced fine, but the x-axis is automatically labelled with
- the following values: 27JUL89 04NOV89 12FEB90 23MAY90 31AUG90.
- The user would prefer the labels to be displayed
- as the first of a month, eg 01Aug89 01Oct89 01Dec89 01Feb90 .. etc.
- The question we are asking is how to get SAS Graph to allow us to specify
- which actual date values are used to mark the x axis.
-
- Thanks to the following people who mailed me with solutions:
- Kernon Gibes, Steve Masters, Don MacQueen and Rodney.
-
- The solution:
- HAXIS='01Aug89'd TO '01Aug90'd by month
- is extremely neat for displaying the first of each month on the axis.
-
- Another solution:
- HAXIS='01Aug89'd '01Oct89'd '01Dec89'd '01Feb90'd '01Apr90'd
- '01Jun90'd '01Aug90'd
- is just what we want for displaying date information on the axis.
-
- The facility to use the 'ddMONyy' form of a date within the axis
- specification is described in SAS Graph Reference Version 6 Manual,
- Volume 1, pages 224 to 226.
-
- Regards, Sue Byrne
- University of Liverpool,
- England, U.K.
-