|
You know it's the little things that one seems to forget. It never occured
to me to get rid of the axis2 - axis4. ........ Thanks Ya. That gave me
what I needed.
-----Original Message-----
From: Huang, Ya [mailto:ya.huang@pfizer.com]
Sent: Friday, November 02, 2001 6:04 PM
To: 'Boyd Newlin'
Subject: RE: Different x-axis with gplot
>Yes you will
>only see the desired data of the by variable BUT the scale will be for the
>full 1 - 90, not 1-30, 31-60, 61-90.
Why not get rid of axis2-axis4?
If you don't use axis statement, sas/graph will automatically assign
the proper scale for you:
data xx;
do i=1 to 100;
x=ranuni(0)*90;
y=ranuni(0);
output;
end;
data xx;
set xx;
bv=int(x/30)+1;
label x='Time (days)';
proc sort;
by bv;
proc gplot;
plot y*x;
by bv;
run;
I saw axis changed from 0-30 to 30-60 to 60-90 with the
change of bv value.
Is this whay you need?
Ya Huang
[text/html]
|