Skip to content
Prev 245518 / 398506 Next

labels and barchart

Hello, Robert,

see hints below.
On Tue, 21 Dec 2010, Robert Ruser wrote:

            
Can't help with that really, but ...
You could take a look at par()'s argument mgp, but it affects both axes at 
the same time. I have the impression that you want more control of the 
style of each axis separately; axis() might than be useful, like


par( mar = c( 3, 13, 2, 1), cex = 0.8)

barplot( x, names.arg = NULL, horiz = TRUE, axes = FALSE)

axis( side = 1, at = c( seq( 0, 80, by = 20), 95))

axis( side = 2, at = 1:length(ety), line = -1, las = 1, tick = FALSE,
       labels = ety)



Hth,

Gerrit