[R] clock24.plot

Jim Lemon jim at bitwrit.com.au
Wed Apr 11 09:52:33 CEST 2012


On 04/11/2012 12:59 AM, Nick Fankhauser wrote:
> I've got the strange problem with clock24.plot that only the first data
> point (phase = 23.38, size = 0.44) from the phases/sizes numeric vectors
> is plotted.
> Does anyone have an idea why this could be?
>
> library(plotrix)
> phases<- c(23.38, 22.29, 22.71)
> sizes<- c(0.44, 0.30, 0.30)
> clock24.plot(sizes,phases)
>
Hi Nick,
Try this:

clock24.plot(sizes,phases,radial.lim=c(0,max(sizes))

By default, clock24.plot only plots the range of values in "lengths".

Jim



More information about the R-help mailing list