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 (December 2009, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 30 Dec 2009 14:57:09 -0500
Reply-To:   Dominic Mitchell <mitchell.d@VIDEOTRON.CA>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Dominic Mitchell <mitchell.d@VIDEOTRON.CA>
Subject:   gplot question
Content-Type:   text/plain; charset=us-ascii

Hi,

I am trying to generate a plot with the smoothed data from proc loess as well as the raw data on the same graph. However, I would like to have the raw data with no interpolation while the smoothed data should be represented by a line. Any help on this issue would be greatly appreciated. I am using SAS 9.1.3.

goptions reset = all;

axis1 order = (0 to 13 by 1) minor=none;

axis2 order = (0 to 1 by .25) minor = none label=(a=90 'Daily Death Rate by 1,000 pts');

Title "Fig 7.1 Mortality rate for pediatric kidney patient transplant recipients";

proc gplot data = a;

plot pred*d_year depvar*d_year / overlay vaxis=axis2 haxis=axis1 ;

run;

quit;

pred is the smoothed prediction by LOESS.

depvar is the raw data.

Best regards,

Dominic.


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