powered by
Create a scatter plot using the aelab theme.
plot_point( df, x, y, z = NULL, base_size = 25, point_size = 3, stroke_size = 1, text_color = "black", facet = FALSE, facet_x = NULL, facet_y = NULL, style = "bw" )
A ggplot object.
ggplot
A data frame.
<[`data-masking`][ggplot2::aes]> Column mapped to the x-axis.
<[`data-masking`][ggplot2::aes]> Column mapped to the y-axis.
<[`data-masking`][ggplot2::aes]> Optional column mapped to fill colour.
Base font size passed to the ggplot2 theme. Default 25.
Point size. Default 3.
Point stroke width. Default 1.
Text colour. Default "black".
"black"
Logical; add facet grid? Default FALSE.
FALSE
Column name (string) for the horizontal facet dimension.
Column name (string) for the vertical facet dimension.
Theme style. One of "bw", "minimal", "classic", "graycolor", "light". Default "bw".
"bw"
"minimal"
"classic"
"graycolor"
"light"
if (FALSE) { df <- data.frame(x = 1:5, y = c(2,4,1,5,3), g = c("A","A","B","B","A")) plot_point(df, x, y, g) }
Run the code above in your browser using DataLab