[R] How to draw clock in R ?

Manish Gupta mandecent.gupta at gmail.com
Fri Aug 10 03:25:48 CEST 2012


Clock always start from 0 which means first slice should start from 0 and
subsequent slices should be added clockwise but here they are added
anticlockwise. Is there any parameter so that i can make them clockwise? 

library(plotrix)
pie(c(25,20,15,10,10,30))
floating.pie(0,0,c(25,20,15,10,10,30),start=7.877)   #How to add clockwise
option here?
pie.labels(0,0,seq(pi/10,19*pi/10,by=pi/5),
c(2,1,0,9,8,7,6,5,4,3)*10,radius=1.2,border=NA) 

Regards



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



More information about the R-help mailing list