LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2001, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 6 Apr 2001 11:50:49 -0400
Reply-To:   Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject:   Re: GCHART Q: Can use 2 Datasets?

I'd use a GPLOT for that. Summarize two datasets with one common variable, which identifies the week. The variable for in- / out should be two. Then use a MERGE to combine the datasets (you can use only one for input to GPLOT. Then plot the two variables with the overlay option in one GPLOT.

data test; h=10; v=29; c=19; output; h=11; v=30; c=18; output; h=12; v=10; c=13; output; h=13; v=30; c=14; output; h=14; v=40; c=18; output; h=15; v=50; c=11; output; h=16; v=60; c=23; output; h=17; v=20; c=27; output; h=18; v=36; c=26; output; h=19; v=33; c=22; output; h=20; v=22; c=21; output; run;

/* h are the numbers of the weeks */

symbol1 v=none i=join w=3 c=red; symbol2 v=none i=join w=3 c=green;

proc gplot data=test; plot v*h c*h /overlay ; run;


Back to: Top of message | Previous page | Main SAS-L page