Date: Fri, 19 Jun 2009 14:02:54 -0400
Reply-To: Mike Smith <qt31416@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mike Smith <qt31416@GMAIL.COM>
Subject: scatterplot with diagonal reference plot
Content-Type: text/plain; charset=ISO-8859-1
HI all,
I was wondering if any of you know how to overlay a 45 degree line to
a scatterplot. The scatterplot however is a function of a grouping variable.
i.e.
data try;
input x y grp;
cards;
12 10 1
13 24 2
32 21 1
24 14 2
;
The scatter plot should have a plot statement: y*x=grp in it.
Thanks in advance!
-Mike
|