Date: Thu, 23 Oct 2008 03:31:58 -0700
Reply-To: Frank Poppe <Frank.Poppe@PWCONSULTING.NL>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Frank Poppe <Frank.Poppe@PWCONSULTING.NL>
Subject: Re: PROC GPLOT question
Content-Type: text/plain; charset=ISO-8859-1
On Oct 23, 7:31 am, "jlee8...@gmail.com" <jlee8...@gmail.com> wrote:
> Dear SAS users,
> Hi, I want to use proc gplot to draw a regression line but want to add
> a x=y line to the plot.
> Can you inform me a good simple way?
> thank you,
You could try to add some dummy points and try to treat them
seperately from the real points by assigning a group value and using
the vary * varx = group syntax.
But a more stable method is to use ANNOTATE. But although in the end
it is a simple addition to the code, you will have to spend some time
converting one of the examples in the documentation.