Labeling position barchart
You told us neither what you did, nor what was not as you expected. Nonetheless, try this example: x <- c(9, 5, 7) mybarplot <- barplot(x, ylim=c(0, 10)) text(mybarplot, x+.08, letters[1:3], pos=3) Sarah
On Fri, Nov 9, 2012 at 6:33 AM, Geophagus <fh at retposto.net> wrote:
Hi @ all, I try to set a labeling on simple barchart. I do it with the text function. I want to see values of the x axis (BE_AKT$ammo) above the bars. When I try the following code, the values are shown, but not in the correct position. They should be labeled 0.08 above the bars. text(BE_AKT$ammo, BE_AKT$ammo + 0.08, label = BE_AKT$ammo, family="Calibri") Can somebody help me? Thank you very much! GeO
-- Sarah Goslee http://www.functionaldiversity.org