[R] How to draw clock in R ?

Manish Gupta mandecent.gupta at gmail.com
Thu Aug 9 07:43:52 CEST 2012


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.



More information about the R-help mailing list