You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was working in older ggplot versions, but now it is not working anymore on version 3.5.1. The racial coordinate should connect the ending and starting points. Using polar coordinates instead of radial also does not work.
set.seed(10)
df = data.frame(x = 1:10,
y = runif(10),
g = sample(c('A', 'B'))
)
g = (
df
%>% ggplot(.)
+ geom_polygon(aes(x=x, y=y, color=g, fill=g), alpha=.5)
+ coord_radial()
)
g
g = (
df
%>% ggplot(.)
+ geom_polygon(aes(x=x, y=y, color=g), alpha=.5, fill=NA)
+ coord_radial()
)
g