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

jimdare jamesdare26 at gmail.com
Thu Jan 15 04:06:55 CET 2009


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")
> 
> rm(box)
> 
> 
> On Wed, Jan 14, 2009 at 7:16 PM, jimdare <jamesdare26 at gmail.com> wrote:
>>
>> 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-tp21468452p21468452.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/Zoo-Plot-Can%27t-Get-Rid-of-Box-tp21468452p21470316.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list