Re: [R] Zoo Plot Can't Get Rid of Box

2009-01-14 Thread jimdare
Thanks for that :) Gabor Grothendieck wrote: > > Its hard coded in but you can circumvent it if you really want like this: > > library(zoo) > > # make a copy of plot.zoo > plot.zoo <- zoo:::plot.zoo > environment(plot.zoo) <- .GlobalEnv > box <- list > > z <- zoo(1:5) > plot(z, bty = "n") >

Re: [R] Zoo Plot Can't Get Rid of Box

2009-01-14 Thread Gabor Grothendieck
Its hard coded in but you can circumvent it if you really want like this: library(zoo) # make a copy of plot.zoo plot.zoo <- zoo:::plot.zoo environment(plot.zoo) <- .GlobalEnv box <- list z <- zoo(1:5) plot(z, bty = "n") rm(box) On Wed, Jan 14, 2009 at 7:16 PM, jimdare wrote: > > Hi, > > I a

[R] Zoo Plot Can't Get Rid of Box

2009-01-14 Thread jimdare
Hi, I apologise for the stupid question but how to you get rid of the box around a plot in the package zoo? I can't seem to find an equivalent for bty="l" i.e. just x and y axis. Cheers James -- View this message in context: http://www.nabble.com/Zoo-Plot-Can%27t-Get-Rid-of-Box-tp21468452p214