[R] Boxplot and range of x-axis

Rainer Hahnekamp rainer.hahnekamp at aon.at
Thu May 11 14:11:37 CEST 2006


Hello there,

could somebody help me with this: I have to create a lot of boxplots but 
with same range concerning the x-axis.
For example I have following data:
liste1 <- c(3,4,5,3,3,4,4)
liste2 <- c(1,2,3,4,6)
png(file = "liste1.png")
boxplot(liste1)
png(file = "liste2.png")
boxplot(liste2)
q()

Works perfectly, but what I need would be that both boxplots have their 
x-axis from 1-6.

Hopefully you could give me a hint.B

Greetings,
-Rainer Hahnekamp




More information about the R-help mailing list