Skip to content

wilkelab/cowplot

Repository files navigation

cowplot logo

cowplot – Streamlined plot theme and plot annotations for ggplot2

R build status CRAN_Status_Badge CRAN_Downloads_Badge DOI

The cowplot package provides various features that help with creating publication-quality figures, such as a set of themes, functions to align plots and arrange them into complex compound figures, and functions that make it easy to annotate plots and or mix plots with images. The package was originally written for internal use in the Wilke lab, hence the name (Claus O. Wilke's plot package). It has also been used extensively in the book Fundamentals of Data Visualization.

Installation

The cowplot package is available on CRAN and can be installed via

install.packages("cowplot")

To install the latest development version of the package using the devtools package, enter the following in your R console:

remotes::install_github("wilkelab/cowplot")

Usage

To get a quick introduction to the main features of this package, read the introductory vignette. For a more in-depth discussion, read all vignettes and/or the reference documentation.