| Date: | Thu, 31 Jul 2008 13:39:34 -0400 |
| Reply-To: | KNuak <asom77@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | KNuak <asom77@HOTMAIL.COM> |
| Subject: | Histogram/Same increments for X-axis |
|---|
I am plotting a histogram by town and my horizontal axis for each town is
wtloss. I have 30 different towns with values of weight loss ranging from
-44 to 36 kg. I want the horizontal axes to have equal
distances/increments of say 0.25 or any convenient value.
Could someone provide me with the SAS code to have uniform distances for
the horizontal axis of each town,please? Shown below is the code I used to
draw the histograms. It worked ok,but the distances of each horizontal
axis of each town was different,but I need equal distances for all the
horizontal axes.
Any advice,please?
proc gchart data=clindat;
vbar wtloss;
by town;
run;
|