0 down vote favorite
        

I am working on R and trying to draw a clock using a pie chart.

code:

pie(c(25,20,15,10,10,30),labels = c(1,2,3,4,5,6,7,8,9,10,11,12),
col=rainbow(length(lbls)), clockwise = TRUE, init.angle = 90)

but i need all 12 labels to be there independent of no of segments in input. 

http://r.789695.n4.nabble.com/file/n4639721/Screenshot-7.png 

How can i implement it?



--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-draw-clock-in-R-tp4639721.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to