[R] ggplot2 rose diagram

hadley wickham h.wickham at gmail.com
Wed Mar 10 20:46:17 CET 2010

> By Q2 I was trying to refer to the Y-axis labels. For the polar plot, the Y-axis labels reside left of the panel. I was looking for a way to get the Y-axis labels to radiate out from the center so it would be clear which line each label refers to. I still can't find any reference to moving the y-axis labels (for any plot type) in any of your documentation. It's probably my failure....

Ah ok, there's not currently anyway to do that.  You'd be best off
just adding the text and markings yourself with geom_text and

> For Q3, can you speak to whether the square-root transformation of counts for the y-axis provides the same function as square-root of the frequencies e.g.  sqrt(countInBin/totalCount) . My goal is for area of the slice to correlate with number of records in each bin (rather than area expanding at a faster rate).

It should produce a plot that looks the same as your explicit
transformation, so yes.


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

More information about the R-help mailing list