geom_ring | R Documentation |
Like geom point but only has a rim by default
geom_ring(...)
... |
|
fill |
character string color name or hexidecimal entry |
a ggplot2 layer
# without function
library(ggplot2)
ggplot(cars) +
aes(x = speed, y = dist) +
geom_ring(size = 7, color = "slateblue")
geom_ring
# using function
library(ggplot2)
ggplot(cars) +
aes(x = speed, y = dist) +
geom_ring(size = 7, color = "slateblue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.