I want to know how you can generate a scale as this picture, I am currently doing a similar figure but the scale is the only thing I can't handle.
Asked
Active
Viewed 285 times
1
-
Hi and welcome to stack overflow. Please be more precise in what scales you mean and what exactly the problem is with these scales. (e.g., the angular or radial position scales / axes? Is labelling the problem or something else?) Also, if you could illustrate the problem with a reproducible example and/or a plot that would be helpful for us to see the issue. – teunbrand May 07 '20 at 22:12
-
iris %>% gather(dim, val, -Species) %>% group_by(dim, Species) %>% summarise(val = mean(val)) %>% ggplot(aes(dim, val, group=Species, col=Species)) + geom_line(size=2) + coord_polar() – Gilberto Durán Bishop May 07 '20 at 22:57
-
and by scale I mean a "symmetrical" scale sequence from 2 to 2 with the center in -2. – Gilberto Durán Bishop May 07 '20 at 22:59
-
She had exactly the same problem but no one replied! https://stackoverflow.com/questions/33807846/ggplot2-axis-for-polar-plot – Gilberto Durán Bishop May 07 '20 at 23:02
-
@GilbertoDuránBishop I've answered the [earlier question](https://stackoverflow.com/a/63827375/8449629) if you are still interested. – Z.Lin Sep 10 '20 at 10:15