geom_point2 | R Documentation |
Somewhat nicer points (especially in case of transparency) without outline strokes (borders, contours) by default.
geom_point2(..., stroke = 0, shape = 16)
geom_jitter2(..., size = 2, stroke = 0, shape = 16)
geom_pointrange2(..., stroke = 0)
geom_count2(..., stroke = 0)
geom_count_borderless(..., stroke = 0)
geom_point_borderless(...)
geom_jitter_borderless(...)
geom_pointrange_borderless(...)
... |
Other arguments to be passed to
|
stroke |
Stroke thickness. |
shape |
Shape of points. |
size |
Size of points. |
The color aesthetics for geom_point_borderless()
is "fill"
, not
"color"
. See 'Examples'.
library(ggplot2)
library(see)
normal <- ggplot(iris, aes(x = Petal.Width, y = Sepal.Length)) +
geom_point(size = 8, alpha = 0.3) +
theme_modern()
new <- ggplot(iris, aes(x = Petal.Width, y = Sepal.Length)) +
geom_point2(size = 8, alpha = 0.3) +
theme_modern()
plots(normal, new, n_columns = 2)
ggplot(iris, aes(x = Petal.Width, y = Sepal.Length, fill = Species)) +
geom_point_borderless(size = 4) +
theme_modern()
theme_set(theme_abyss())
ggplot(iris, aes(x = Petal.Width, y = Sepal.Length, fill = Species)) +
geom_point_borderless(size = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.