[R-SIG-Finance] zoo plot without box?

Gabor Grothendieck ggrothendieck at gmail.com
Mon Jan 24 18:15:08 CET 2011


On Mon, Jan 24, 2011 at 11:51 AM, Matthieu Stigler
<matthieu.stigler at gmail.com> wrote:
> Hi
>
> I'm trying to create a zoo plot without the box surrounding it. If it was a
> simple data, I woudl do:
> plot(1:100, bty="n")
>
> but with zoo, the argument bty does not seem to work?
> library(zoo)
> plot(zoo(1:100), bty="n")
>
> I thought nervertheless that par arguments are allowed in plot.zoo... Any
> idea about a workaround?
>

That's a bug. Try the development version.

library(zoo)
source("http://r-forge.r-project.org/scm/viewvc.php/*checkout*/pkg/zoo/R/plot.zoo.R?revision=822&root=zoo")
plot(zoo(1:100), bty = "n")


-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-SIG-Finance mailing list