Skip to content
Prev 293724 / 398513 Next

PLot a matrix

On Sun, May 6, 2012 at 11:39 AM, Trying To learn again
<tryingtolearnagain at gmail.com> wrote:
Try this:

library(zoo)
URL <- "http://r.789695.n4.nabble.com/attachment/4613171/0/dataA.txt"
z <- read.zoo(URL, index = 0)

plot(z) # multi-panel
plot(z, screen = 1, col = 1:5) # single panel

See ?plot.zoo for more details.