When using the function boxplot() together with the argument ,---- | horizontal = TRUE `----
xlim and ylim become swapped, i.e. ylim refers to the x-axis instead of the y-axis: --8<---------------cut here---------------start------------->8--- x <- runif(1000) boxplot(x) boxplot( x, ylim = c(0.2, 0.8) ) boxplot( x, ylim = c(0.2, 0.8), horizontal=TRUE ) --8<---------------cut here---------------end--------------->8--- This is either a bug or undocumented. Cheers, Rainer -- Rainer M. Krug email: Rainer<at>krugs<dot>de PGP: 0x0F52F982
signature.asc
Description: PGP signature
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.