Hacking Boxplots

Usually the big nuisance with boxplots is accomodating the labels, which are usually too long. I suggest to keep the boxplots vertical, turn all the labels to perpendicular to axis, and increase the outer margin on the x-labels side.

x11 ()
par (omd = c (0, 1, 0.1, 1))
boxplot (<#...>, names = <#x_labels>, las = 2)

omd parameters are:

las values are:

For a general reference, look at the par help page.

DanieleMerico/HowtoDirectory/Boxplots (last edited 2009-07-07 00:48:09 by localhost)

MoinMoin Appliance - Powered by TurnKey Linux