[R] stacked plots

Gabor Grothendieck ggrothendieck at gmail.com
Wed Dec 27 18:10:08 CET 2006


If this is time series data try

library(zoo)
example(plot.zoo)
example(xyplot.zoo)

to see if any of those fit your requirements.

On 12/27/06, BBands <bbands at gmail.com> wrote:
> Dear helpeRs,
>
> Is there a better method of producing stacked charts than
> par(mfrow(3,1)), plot(x), plot(y), plot(z)? What I would like to do is
> produce a chart of several panes stacked vertically with no space
> between them so they appeared to be a single figure. I've attached a
> small example, though it is not clear that it will make it, as the
> posting guide doesn't say which sort of images are allowed--it is a
> gif. My data will be in zoo objects like those from get.hist.quote()
> with the data for the extra panes in additional columns.
>
> Thanks in advance,
>
>    jab
> --
> John Bollinger, CFA, CMT
> www.BollingerBands.com
>
> If you advance far enough, you arrive at the beginning.
>
>
> ______________________________________________
> R-help at 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.
>
>
>



More information about the R-help mailing list