Quantcast

clock24.plot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

clock24.plot

Nick Fankhauser-2
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)

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: clock24.plot

Jim Lemon
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...