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 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 17 Jul 2007 01:02:41 -0400
Reply-To:     Matt Pettis <matt.pettis@THOMSON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Matt Pettis <matt.pettis@THOMSON.COM>
Subject:      Re: gplot


There is a neat little thing called a 'spectrum chart' that i found in the sugi paper:

look for yep, it does use annotate like you thought, but i think the hard work has pretty much been done in this paper.

i think this will do what you want... it is intended for showing how busy a cpu is for different servers by coloring different timeslices according to how busy the cpu was. the server is listed on the vertical axis, and the timeperiods are on the x-axis. thin strips for each server/timeperiod are colored according to how busy the cpu is. i think it would take some very minor tweaking to apply this to your problem.

hth, matt

On Mon, 16 Jul 2007 15:53:33 -0400, Nat Wooding <Nathaniel.Wooding@DOM.COM> wrote:

>Jake > >I would create a variable called event or something like that for each >adverse event if you do not already have one. A given event would cover >the time from start to finish for a given patient for the given AE. For >example patient 22-2002 would have two of these suckers. Then I sort my >date by patient event and date and have > >Proc Gplot; > plot patient*date = event / legend=none; > symbol1 i=join v=star c=black r=100; > >run; >quit; > >I'm guessing at the legend = none but the point is that you will not need a >bunch of lengend statements cluttering up the bottom of your graph window. >You may need to modify the symbol statement. > >I think this will be the easiest solution to what you want. > >Nat Wooding >Environmental Specialist III >Dominion, Environmental Biology >4111 Castlewood Rd >Richmond, VA 23234 >Phone:804-271-5313, Fax: 804-271-2977 > > > > Jake Bee > <johbee@GMAIL.COM > > To > Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU > Discussion" cc > <SAS-L@LISTSERV.U > GA.EDU> Subject > gplot > > 07/16/2007 03:42 > PM > > > Please respond to > Jake Bee > <johbee@GMAIL.COM > > > > > > > > >I'm trying to create a graph using gplot with Subject ID's on the Vertical >axis >and number of days that an Adverse Event Occurred on the Horizonal axis. > >There is only one type of AE considered at a time (i.e Nausea). > >The Number of Days need to be numbered from 0 to 600. > >The Days that each subject had the specific AE may be discontinuous. >That is, subject 22-001 could have the AE from Days 1 to 20, then Days >55-100; > subject 22-002 could have the AE from Days 1 to 2, then 4-9, >then 33-88; > > etc. etc. > >Any ideas on how to approach this? I think I have to use annotate with the >glpot. >I've look at a number of SUGI papers, but none that address this specific >idea. > >Please let me know if you know of any papers, or ideas, or links, etc. > >The plot would be something like the following: > > Title Adverse Event: Nausea > > Subject ID > 22-030 | xxxxx xxxxxxxxx > ... | > 22-002 |x xxxxxxxxxxxxxxxxxxxxxxxxx > 22-001 |xxxxxxxx xxxxxxxxxxxxxxxxxxxxx > >|-----------|------------|------------|------------|-----------|------------|------------|-------------- > > 0 20 40 60 >80 100 ... 400 > Day on Study > >Again thank for any suggestions. > > > >----------------------------------------- >CONFIDENTIALITY NOTICE: This electronic message contains >information which may be legally confidential and/or privileged and >does not in any case represent a firm ENERGY COMMODITY bid or offer >relating thereto which binds the sender without an additional >express written confirmation to that effect. The information is >intended solely for the individual or entity named above and access >by anyone else is unauthorized. If you are not the intended >recipient, any disclosure, copying, distribution, or use of the >contents of this information is prohibited and may be unlawful. If >you have received this electronic transmission in error, please >reply immediately to the sender that you have received the message >in error, and delete it. Thank you.

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