Skip to content
Prev 279630 / 398503 Next

axis line width in boxplots

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!

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