[R] Text in barplot.
koj
jens.koch at gmx.li
Mon Aug 24 09:53:01 CEST 2009
Dear all,
i want to display a text in a barplot.
Actual I simply work with the following lines:
text(0.3,0.2,substring(teammembers.paint,1,140),cex=0.45,pos=4,srt=90)
text(0.48,0.2,substring(teammembers.paint,141,1000),cex=0.45,pos=4,srt=90)
The problem is, that "teammembers.paint" could be very long, so I split text
with substring - but this is no good solution because the separation must be
fixed.
Is there any other possibility to display a long text in a nicer way, e.g in
a box with the possibility of a line-break?
Thank you very much in advance,
Jens.
--
View this message in context: http://www.nabble.com/Text-in-barplot.-tp25111937p25111937.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list