Skip to content
Back to formatted view

Raw Message

Message-ID: <1344561948056-4639839.post@n4.nabble.com>
Date: 2012-08-10T01:25:48Z
From: Manish Gupta
Subject: How to draw clock in R ?
In-Reply-To: <5023A92F.6020001@bitwrit.com.au>

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.