clock24.plot {plotrix} | R Documentation |
clock24.plot
displays a plot of radial lines or a polygon
centered at the midpoint of the plot frame on a 24 hour 'clockface'.
In contrast to radial.plot
, the positions are interpreted as
beginning at vertical (2400) and moving clockwise.
clock24.plot(lengths,clock.pos,rp.type="r",...)
lengths |
numeric data vector. Magnitudes will be represented as line lengths. |
clock.pos |
numeric vector of positions on the 'clockface'. These must be in decimal hours and will be rescaled to radians. |
rp.type |
Whether to plot radial lines or a polygon. |
... |
additional arguments are passed to radial.plot and
then to plot . |
nil
polar.plot
,radial.plot
testlen<-c(rnorm(24)*2+5) testpos<-0:23+rnorm(24)/4 clock24.plot(testlen,testpos,main="Test Clock24") par(ask=TRUE) # now do a 'daylight' plot clock24.plot(testlen[5:19],testpos[5:19],main="Test Clock24 daytime") par(ask=FALSE)