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 (July 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 18 Jul 2006 13:44:49 -0400
Reply-To:     Michelle Yu <jiho76@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Michelle Yu <jiho76@HOTMAIL.COM>
Subject:      Re: Generating multiple variables chart

data Capital; input Company_ID Date Capital; datalines; 1 20051231 40.5 1 20050930 34.5 1 20050630 23.5 1 20050331 34.7 2 20051231 43.5 2 20050930 30.5 2 20050630 22.5 2 20050331 39.7 3 20051231 20.5 3 20050930 54.5 3 20050630 73.5 3 20050331 94.7 4 20051231 1.5 4 20050930 20.5 4 20050630 40.5 4 20050331 60.7 5 20051231 10.5 5 20050930 94.5 5 20050630 53.5 5 20051231 30.5 6 20050930 14.5 6 20050630 73.5 6 20050331 24.7 6 20050930 94.5 7 20050630 53.5 7 20050331 74.7 7 20050930 44.5 7 20050630 93.5 8 20050331 34.7 8 20050930 14.5 8 20050630 83.5 8 20050331 34.7 ;

reset = all gunit=pct border cback=white colors=(black red orange yellow green blue brown purple) ftext=swiss ftitle=swissb htitle=4 htext=2;

Title 'Capital'; symbol1 interpol=join value=dot height=1; proc gplot data = Capital; plot Capital* Date = Company_ID / hminor=0 ; run;

I have written the sample code. It seems to capture all data points but have some problems in date format. On my actual dataset,somehow my chart is only plotting 3 out of 8 companies.

Thanks!!!


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