[R-SIG-Finance] [Solved] Re: zoo plot without box?
Matthieu Stigler
matthieu.stigler at gmail.com
Mon Jan 24 18:26:55 CET 2011
Hello
Thanks Gabor for the info about newer version, and thanks Pierre for the
workaround!!
matthieu
Le 24. 01. 11 18:22, Pierre Lapointe a écrit :
> Or you could change you par(),
>
> library(zoo)
> opar<-par() #put original settings in memory
> par(bty="n")
> plot(zoo(1:100))
> par(opar) #go back to original par
>
>
>
> On Mon, Jan 24, 2011 at 12:15 PM, Gabor Grothendieck
> <ggrothendieck at gmail.com> wrote:
>> 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
>>
>> _______________________________________________
>> R-SIG-Finance at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions should go.
>>
More information about the R-SIG-Finance
mailing list