[R] axis line width in boxplots

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Dec 7 21:05:49 CET 2011



On 07.12.2011 17:51, GINGINS Simon wrote:
> Dear R-helpers,
>
> I've produced boxplots for a publication but I have a visual problem that I don't mamage to fix. For visual reasons, I reduced the line width with "lwd=0.5". It works nicely for all the lines (frame of the plot, boxes, notches and medians) exept for the axis line. Thus the two axes appear twice the width of the frame. How can I control only the width of the axis line? Or, other option, how can I get rid of the axis line without getting rid of the tickmarks (as below the axis, there is the line from the frame, I don't really need the axis line)?
>
> Thank you for all the help you guys provide, it is extremely useful!

par(lwd=0.5)
boxplot(1:10, lwd=0.5)

Uwe Ligges


>
> Regards
>
>
> Simon Gingins
> PhD student
>
> University of Neuchâtel
> Institute of Biology
> Department of Behavioural Ecology
> Rue Emile-Argand 11
> 2000 Neuchâtel
> Switzerland
>
> +41 32 718 31 09
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list