Date: Wed, 5 Aug 1998 15:41:17 -0700
Reply-To: Martina Rossi <rossim@UNI-DUESSELDORF.DE>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Martina Rossi <rossim@UNI-DUESSELDORF.DE>
Organization: Heinrich Heine Universitaet Duesseldorf
Subject: PROC GCHART
Content-Type: text/plain; charset=us-ascii
Hi Sasler's,
is there a way to connect peculiarity and color?
Here is my programm:
....
GOPTIONS CTEXT=blue;
PATTERN1 v=s c=gray;
PATTERN2 v=s c=yellow;
PATTERN3 v=s c=green;
PATTERN4 v=s c=blue ;
PATTERN5 v=s c=red;
AXIS1 LABEL=NONE ORDER=(0 TO 60 BY 60);
AXIS2 LABEL=NONE;
PROC GCHART DATA=grund GOUT=grafik;
WHERE rast=100 AND studjahr=&jahr AND region=®
hBAR balk/ Name="b&jahr®"
DISCRETE
FRAME
TYPE=PERCENT
FREQ
SUBGROUP=schneid
NOLEGEND
RAXIS=axis1
MAXIS=axis2;
RUN;
QUIT;
%MEND;
Here the problem:
%zeich(1991,1,239);
It seems there is no direct relation between subgroup peculiarity and
color. Because the used color depends on how many peculiarity are in a
certain data set. Is there a way to connect subgroup and color and so a
way to use everytime e.g. blue for subgroup=2???
TIA
M.Rossi
|