powered by
Change or set ggplot panel border.
border(color = "black", size = 0.8, linetype = NULL)
border line color.
numeric value specifying border line size.
line type. An integer (0:8), a name (blank, solid, dashed, dotted, dotdash, longdash, twodash). Sess show_line_types.
show_line_types
# Load data data("ToothGrowth") df <- ToothGrowth # Basic plot p <- ggboxplot(df, x = "dose", y = "len") p # Add border p + border()
Run the code above in your browser using DataLab