Hello all,

I am trying to trim the plotting area in a boxplot, such that the space 
between the plot margins (left and right) are of identical size as 
between the boxes.
In the example below I want to get rid of the space outside of the 
abline().

I appreciate any suggestions.

Factor = LETTERS[1:5]
A = c(1:5); B = c(2:6); C = c(1:5); D = c(3:7); E = c(1:5); F = c(4:8)
df = data.frame(A,B,C,D,E,F)
boxplot(df)
abline(v=c(0.5,6.5))

Cheers, Patrick

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to