[R] Merging labels on Pie chart
jim at bitwrit.com.au
Sun Feb 24 03:46:55 CET 2013
On 02/24/2013 03:06 AM, Melanie Zoelck wrote:
> Dear R Help Members,
> I need to draw a pie chart for someone and there are 3 small slices in it identifying different species, all 0.7%, whoâ€™s labels overlap so you cannot read them. Is there a way to have only 1 label the three slices, so as to merge the three labels into one without merging the 3 slices? Alternatively, is there a way to extend the pointing lines, so that they could be different heights so as to avoid the overlap.
Depending upon how much overlap there is, you might be able to use the
floating.pie (plotrix) function:
species.names<-c("Homo sapiens","Pan troglodytes",
If this is not enough, I think Uwe's suggestion would work.
More information about the R-help