Michi,
The code that you shared was incomplete. Two objects (plant_labels and
colors) were not defined.
The pie chart would be easier to interpret by direct labeling of slices,
rather than trying to decipher a color legend. If you change the initial
angle of the first slice, you can rotate t
Dear R-help members,
I did the following pie chart:
R:Code=
plants<-c(11,5,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,43)
pie(plants,labels =plant_labels,cex=0.7, col=colors)
par(mar=c(0,0,4,0),oma=c(0,0,0,0))
legend(1,1,cex=0.7,pt.cex=25,
c("Rubiaceae","Aspleniaceae","Compositae","Euphorbiaceae","Piperaceae
2 matches
Mail list logo