Re: [R] Help needed with Waterfall plot

From: Thomas Petzoldt <>
Date: Fri, 31 Oct 2008 17:38:12 +0100

Philip Twumasi-Ankrah schrieb:
> Hi friends,
> I need suggestions/directions on how to producing a waterfall plot for present extend of change in tumour size for a set of respondents in a study. Example of use of waterfall plot is in the following slides presented at ASCO 2007 by Axel Grothey. Link is
> The link is pretty long but it takes you right to the presentation.

Hi Phillip,

is this a "waterfall plot":

## a few data
x <- 0:99
y <- sort(rnorm(100), decreasing=TRUE)

# the plot
plot(y, type="n")
polygon(c(min(x), x, max(x), 0), c(0, y, 0, 0), col="green")

Thomas P. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 31 Oct 2008 - 16:42:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 01 Nov 2008 - 12:30:20 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive