s-news
[Top] [All Lists]

[S] Line problems

To: "'splus'" <s-news@wubios.wustl.edu>
Subject: [S] Line problems
From: "Box, Jim" <box00002@onyx.dcri.duke.edu>
Date: Fri, 22 Jan 1999 12:14:44 -0500
Sender: owner-s-news@wubios.wustl.edu
I'm using 4.5r1 for the PC.

I have made some K-M event curves using stepfun as follows:

>plot(stepfun(ttf6m.st$time[arm.st==1],1 - tf6m.st$surv[arm.st==1]), 
+ type='l',xlab='',ylab='',ylim=c(0,.20),bty='l',xaxs='i',yaxs='i')
>points(stepfun(ttf6m.st$time[arm.st==2],1 - ttf6m.st$surv[arm.st==2]),
+ type='l',lty=8)

And this looks just fine.

However, when I try to darken the dashed line, using lwd=10 or selecting
the line from the graph and changing it's weight using the dialog box, I
get a line that is darker but has filled in diamonds on it in many (but
not all) of the places where the function steps up.

I get the same problem making regular K-M curves, but the diamonds are
usually less frequent.

What is going on here?  How can I get dark dashed lines?

Thanks for the help.

______________
Jim Box
DCRI Statistics

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Line problems, Box, Jim <=