EE BIOL C177/C234
Donβt settle for the default grey! Try these:
jtools::theme_nice() β clean and minimalistictheme_minimal() β built-in, no gridlinesggthemr β collection of themes from GitHubhrbrthemes::theme_ipsum() β popular typography-focusedhrbrthemes::theme_modern_rc() β dark backgroundUse shape 21 (circle with border) + fill + transparency:
21 = circle with a borderfill = inside color, color = border coloralpha adds transparency for dense dataDifferent shapes for black-and-white printing:
Use scale_fill_manual() for precise control:
paletteerfill = inside of shapes (shape 21β25, bars, areas)color = border/outline of shapes, linesscale_fill_manual() for fill, scale_color_manual() for colorCoordinates: c(x, y) β from 0 (left/bottom) to 1 (right/top)
Also try: "bottom", "left", "right", "none"
Rename all legend aesthetics for a merged legend:
Use ggtext to embed colored HTML in the subtitle:
legend.position = "top" or "bottom"c(x, y)facet_wrap() to separate panelsannotate("text", ...) or ggtext subtitlelegend.title = element_blank()Pay attention to your axis labels. Chances are they are too small. β Claus Wilke
ggplot() with data + aestheticsgeom_*() layers (points, lines, ellipses)
scale_*() to customize aestheticslabs() for axis labels, title, legend titlestheme_*() + theme() for non-data elementsAlways specify width and height for reproducibility!
Some journals only accept raster formats:
Use ragg::agg_png for high-fidelity rendering of fonts and details.
.svg (vector format)Transparent backgrounds let your plot blend into any slide design!
width, height)Publication-Ready Figures