Date: Wed, 14 Feb 1996 01:34:44 GMT
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
Organization: Northern Territory University
Subject: Plotting datetime format with truncated axis values.
I am having difficulty in creating an axis which can be used in a gplot
where the time variable to be plotted is in DATETIME 19.2 format.
Because I am typically plotting a month worth of data, the DATETIMEw.d
format is not so useful as it has a minimum length of 7 and the values become
cluttered. I could rotate the values with
... value=angle=90 ...............
but this gives me less space for graphing the values.
I must retain the datetime value as there are multiple observations over
different hours of the day and if I were to convert them do date variables
the fine detail of hours etc would be lost.
Ideally , the axis would look something like this although the month/year
be put elsewhere in a footnote/title/annotate etc.
|__________________________________ _ _ _ _
01 02 03 04 05 ................. 31
Maybe I am looking at this from the wrong way and should be concentrating on
creating a format which would allow me to specify something like:
/*Note: macro vars strtdt, enddt, mth already assigned.*/
axis1 order=("&STRTDT.:00:00"dt to "&ENDDT.:23:59"dt by dtday)
proc gplot data=uuvmst;
plot usrcpu*datetime=1 /
format datetime MYFMT. ;
Any suggestions gratefully received!