David Lloyd wrote: > Hi, > > I've plotted a Kaplan-Meier curve but the curves only range from 0.7 to > 1 on the y-axis. Therefore I have used: - > > ylim=c(0.7,1) > > [although I think convention dictates that you plot 0.5 to 1 to show the > median? A few papers I've read have done this]?? > > BUT, I would like a symbol like // (but rotated 90 degrees) to indicate > that the y-axis has been truncated. I'd need to be able to specify > exactly where on the axis to put the symbol as well. > > I couldn't find anything under "par" or "plot" for doing this > Hi David, Try looking for axis.break in the plotrix package.
Jim ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.