Re: [R] Creating a Polar Plot with expanding points as radius increases

2011-06-28 Thread Patrick Jemison
Hi Jim, That sounds pretty great! I am happy to have contributed a stimulus for action to be taken in further developing the tools. I'll keep an eye out for your update. Thanks, Patrick On Tue, Jun 28, 2011 at 6:29 AM, Jim Lemon wrote: > On 06/28/2011 08:35 AM, Patrick Jemison wrote: >> >> I'

Re: [R] Creating a Polar Plot with expanding points as radius increases

2011-06-28 Thread Jim Lemon
On 06/28/2011 08:35 AM, Patrick Jemison wrote: I'd like to create a polar plot similar to those created by the polarFreq function in the openair package. However, this package seems to be specific to wind speed and direction, and requires a "ws" (wind speed) and a "wd" (wind direction) column.

Re: [R] Creating a Polar Plot with expanding points as radius increases

2011-06-27 Thread Patrick Jemison
Thank you, Baptiste! I think that this will work for me. Looking into the coord_polar function of ggplot2, I think that the racetrack plot at the bottom of the page (http://had.co.nz/ggplot2/coord_polar.html) will be exactly what I need. On Mon, Jun 27, 2011 at 8:09 PM, baptiste auguie wrote: >

Re: [R] Creating a Polar Plot with expanding points as radius increases

2011-06-27 Thread baptiste auguie
Try this, library(ggplot2) d <- data.frame(theta = runif(10, 0, 360), r = runif(10, 0, 3)) ggplot(d, aes(x=theta, y=r, size=r)) + coord_polar(start=0)+ geom_point() + scale_x_continuous(breaks=seq(0, 360, by=30), expand=c(0,0), lim=c(0, 360))+ scale_area() HTH, baptiste On 28 June 2011

Re: [R] Creating a Polar Plot with expanding points as radius increases

2011-06-27 Thread Greg Snow
...@stat.math.ethz.ch Subject: [R] Creating a Polar Plot with expanding points as radius increases I'd like to create a polar plot similar to those created by the polarFreq function in the openair package. However, this package seems to be specific to wind speed and direction, and requires a "ws&qu

[R] Creating a Polar Plot with expanding points as radius increases

2011-06-27 Thread Patrick Jemison
I'd like to create a polar plot similar to those created by the polarFreq function in the openair package. However, this package seems to be specific to wind speed and direction, and requires a "ws" (wind speed) and a "wd" (wind direction) column. My data is unrelated to wind speed, but I'd like