Date: Tue, 23 Oct 2007 16:28:44 -0400
Reply-To: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Organization: Internet News Service
Subject: Re: Side-by-Side Bar Graph
OR Stats wrote:
> Hello: Does anyone know how to put sets of bar graphs on the same x
> and y scale? I believe this can be done easily in softwares like
> Prism Graph Pad. Staying w/i SAS framework is ideal however. Thank
> you :)
There are literally dozens of variations of a charts that can be produced
from just a handful of options.
Is this the one you want ?
do set = 1 to 3;
do mid = 1 to 5;
do nobs = 1 to 10;
y = base + ranuni(1234) - 0.5;
cat = floor(1 + 3*ranuni(1234));
proc gchart data=foo;
vbar mid / discrete group=set subgroup=cat sumvar=y type=mean mean;
The G100 options is something to look at also.
Richard A. DeVenezia