> True, I made a mistake here. Still, I have problems to visualize my data (not > the example code I used). I just see a flat line instead a proper plot... > > Another example code with creating a strange plot: > > x <- rnorm(100) + 100 > maxval <- max(x) > boxplot(x, notch=TRUE, xlim = c(0,maxval), horizontal = TRUE)
When you use horizontal=TRUE, the meanings of the xlim and ylim arguments to boxplot are swapped. Thus xlim affects the range of the vertical axis. Take a look at boxplot(x, notch=TRUE, ylim = c(0,maxval)) and boxplot(x, notch=TRUE, ylim = c(0,maxval), horizontal = TRUE) Regards, Richie. Mathematical Sciences Unit HSL ------------------------------------------------------------------------ ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} ______________________________________________ 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.