[R] How to divide too long labels?

Atte Tenkanen attenka at utu.fi
Sat Mar 18 21:08:27 CET 2006


Is there any possibility to divide too long text in a plot to two or more
lines, when using labels-parameter in the text()-command?

Here is an example picture:

http://users.utu.fi/attenka/253.jpeg

My example script is something like this:

text(1,0.7,labels=Chordnames[fnid(pcs%%12)]) # according to Larry
Solomon's table http://solomonsmusic.net/pcsets.htm

Chordnames is a long vector with long character strings.

Atte Tenkanen
University of Turku
Finland




More information about the R-help mailing list