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
<[email protected]> wrote:
> On Mon, Jan 24, 2011 at 11:51 AM, Matthieu Stigler
> <[email protected]> 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
>
> _______________________________________________
> [email protected] 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.
>

_______________________________________________
[email protected] 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.

Reply via email to