Skip to content
Prev 304957 / 398506 Next

No room for labels in barplot

Hello,

1. With R-2.15.1 on Windows 7 your first plot places all labels when you 
maximize the graphics device.

2. To place the labels in your second plot you can change the margin 
settings:

op <- par(mar = c(7, 4, 4, 2) + 0.1)  # default is c(5, 4, 4, 2) + 0.1
barplot(sales,ylim=c(0,2500),las=2)
par(op)

See ?par

Hope this helps,

Rui Barradas

Em 06-09-2012 19:03, David-Arnold escreveu: