
Last chance! 50% off unlimited learning
Sale ends in
clock24.plot
displays a plot of radial lines, symbols 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 (000) and moving clockwise.clock24.plot(lengths,clock.pos,rp.type="r",...)
radial.plot
and
then to plot
.polar.plot
,radial.plot
testlen<-rnorm(24)*2+5
testpos<-0:23+rnorm(24)/4
clock24.plot(testlen,testpos,main="Test Clock24 (lines)",show.grid=FALSE,
line.col="green",lwd=3)
if(dev.interactive()) par(ask=TRUE)
# now do a 'daylight' plot
clock24.plot(testlen[7:19],testpos[7:19],
main="Test Clock24 daytime (symbols)",
line.col="blue",rp.type="s",lwd=3)
par(ask=FALSE)
Run the code above in your browser using DataLab