Skip to content
Prev 176540 / 398513 Next

Colour each letter of a text string in a plot

Use 'text' to write out each one:

plot(0, type='n', xlim=c(0,1), ylim=c(0,1))
text(seq(0,1,length=10), rep(0.5,10), LETTERS[1:10], col=1:10)
On Wed, Apr 8, 2009 at 12:15 PM, Daren Tan <darentan76 at gmail.com> wrote: