On Sunday 05 August 2007, Mark Wardle wrote: > [...] > So, try this for starters: > my.values=1:5 > x <- barplot(my.values, ylim=c(0,7)) > text(x, 0.4+my.values, "wibble")
Mark, you could use the "pos" argument from ?par: my.values=100000:100005 x <- barplot(my.values, ylim=c(0,110000)) text(x, my.values, "wibble", pos=3) # always does what you want, whereas: text(x, 0.4+my.values, "wibble") # doesn't look very nice HTH, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.