Graphics Reference
In-Depth Information
Figure 8-34. Polar plot with different colors and breaks
It may also be useful to set the starting angle with the start argument, especially when using a
discrete variable for theta. The starting angle is specified in radians, so if you know the adjust-
ment in degrees, you'll have to convert it to radians:
coord_polar(start = -45 * pi / 180 )
Polar coordinates can be used with other geoms, including lines and points. There are a few im-
portant things to keep in mind when using these geoms. First, by default, for the variable that
Search WWH ::




Custom Search