Thanks a lot! Helmer 2009/10/13 Peter Ehlers <ehl...@ucalgary.ca>: > Helmer, > > You can just place another boxplot on top of the first like this: > > boxplot(x) > axis(2,tck=1,col.ticks='grey',lty=5 ) > boxplot(x, col="white", add=TRUE) > > -Peter Ehlers > > Helmer Belbo wrote: >> >> Dear R people, >> >> I wonder how to hide tick lines behind other figures in a plot, e.g. >> in a boxplot. >> >> # Sample code: >> >> x<- c(rep(4,50),rep(5,20),rep(6,50),rnorm(20,5,1)) >> boxplot(x) >> axis(2,tck=1,col.ticks='grey',lty=5 ) >> >> # end of sample code >> >> The tick lines is put on top of the box-plot, but I would like to put >> these lines behind the box and whiskers.. >> >> Regards >> Helmer >> >> ______________________________________________ >> R-help@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. >> >> >
-- Ha en fortreffelig dag! Helmer Belbo __________________________ Helmer Belbo Sollihagen 21 A 1430 Ås tlf +47 970 78 239 epost: hbe...@gmail.com ______________________________________________ R-help@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.