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 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 13 Jul 2005 13:41:37 -0700
Reply-To:     rao <npunnani@gmail.com>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         rao <npunnani@GMAIL.COM>
Subject:      tagging a third variable value on a proc GPLOT line..
Comments: cc: ysk <ysk.kan@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello all,

I am trying to create a two dimensional graph using proc GPLOT . The situation is like this : I have two variables month and lab_measurement (month is an independent variable on X axis and lab_measurement is the dependent variable on Y axis) and i have to plot this for a a group of patients . So the plot statement i used was

plot pth*dt = pid

so far so good . But now i need to add another level of complexity here and this is where i am getting stuck . Now i need pick up another three variables from the same data set : death , fracture and tranplantation . These three variables typically have the date values . Now from the plot i created earlier for the same patients , i need to tag these three variables on the same line that i create for each patient in the graph . So lets say for e.g patientA had undergone a transplantation on feb2004 then for the patientA line that was created in the graph earlier , exactly at coordinates (month , lab_measurement) i need to put a symbol there , either a dot or square or something . or for e.g patientB died on mar2004 then for the patientB line in the graph , exactly at the coordinates (month , lab_measurement ) i need to put a tag there.

I thought of creating an annotate data set , but i didnt know how to move it to the exact (x,Y) coordinate location for each patient. another one i thought is superimposing the graph , but didnt really find a clue . Since i am not well versed with the SAS/graph , i am not able to think beyond this.

Any help in this regard would be greatly greatly appreciated.

I hope i am clear , or if someone wants little more clarity i would be more than happy to provide it .

Thank you rao.


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