search for: barposit

Displaying 1 result from an estimated 1 matches for "barposit".

Did you mean: barpos
2009 Mar 11
0
Working up examples of barplots with customized marginal items
...mes, las=2, col=mycols,density=myden,angle=c(20,60,-20)) legend(1,20,legend=c("A","B","C","D"),density=myden,angle=myangles) ### for my coupe de grace, lets do some writing in the bars. ### Recall from Verzani you can get the x coordinates from the barplot barPositions <- barplot(x, names=mynames, las=2, col=mycols,density=myden,angle=c(20,60,-20)) barPositions ### The text option srt=90 turns the text sideways ### I'm just guessing that bars 1 and 8 should be labeled ### at coordinates 5 and 5 text (barPositions[1], 5, "my first bar is great&...