Date: Thu, 6 Aug 2009 23:26:30 -0500
Reply-To: Kevin Myers <KevinMyers@AUSTIN.RR.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kevin Myers <KevinMyers@AUSTIN.RR.COM>
Subject: Re: Legend for PROC GPLOT
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
plot (Y1 Y2 Y3 Y4)* DATE / overlay legend vaxis=axis1;
----- Original Message -----
From: "OR Stats" <stats112@GMAIL.COM>
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Thursday, August 06, 2009 23:01
Subject: Legend for PROC GPLOT
> Hello:
>
> When I overlay four series on the same graph, SAS automatically chooses
> the
> color for each series. But how do we add the legend on the graph so that
> we
> know which color is for which series? My code was
>
> proc gplot data=mydata;
>
> plot (Y1 Y2 Y3 Y4)* dATE / overlay vaxis=axis1;
>
> run;
>
> quit;
>
>
>
> Thank you!
|