cowplot: Streamlined Plot Theme and Plot Annotations for 'ggplot2'
Version 0.7.0

Some helpful extensions and modifications to the 'ggplot2' package. In particular, this package makes it easy to combine multiple 'ggplot2' plots into one and label them with letters, e.g. A, B, C, etc., as is often required for scientific publications. The package also provides a streamlined and clean theme that is used in the Wilke lab, hence the package name, which stands for Claus O. Wilke's plot package.

AuthorClaus O. Wilke [aut, cre], Hadley Wickham [cph]
Date of publication2016-10-28 00:02:16
MaintainerClaus O. Wilke <wilke@austin.utexas.edu>
LicenseGPL-2
Version0.7.0
URL https://github.com/wilkelab/cowplot
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("cowplot")

Getting started

README.md
Arranging plots in a grid
Changing the axis positions
Introduction to cowplot
Plot annotations
Shared legends

Popular man pages

add_sub: Add annotation underneath a plot
align_plots: Align multiple plots vertically and/or horizontally
draw_figure_label: Add a label to a figure
draw_plot_label: Add a label to a plot
panel_border: Add/remove the panel border in a ggplot2 plot
plot_grid: Arrange multiple plots into a grid
save_plot: Alternative to ggsave, with better support for multi-figure...
See all...

All man pages Function index File listing

Man pages

add_sub: Add annotation underneath a plot
align_plots: Align multiple plots vertically and/or horizontally
background_grid: Add/modify/remove the background grid in a ggplot2 plot
cowplot: cowplot.
draw_figure_label: Add a label to a figure
draw_grob: Draw a grob.
draw_label: Draw a text label or mathematical expression.
draw_line: Draw a line.
draw_plot: Draw a (sub)plot.
draw_plot_label: Add a label to a plot
draw_text: Draw text.
get_legend: Retrieve the legend of a plot
ggdraw: Set up a drawing layer on top of a ggplot
ggsave: Cowplot reimplementation of ggsave.
gtable_remove_grobs: Remove named elements from gtable
gtable_squash_cols: Set the width of given colums to 0.
gtable_squash_rows: Set the height of given rows to 0.
panel_border: Add/remove the panel border in a ggplot2 plot
plot_grid: Arrange multiple plots into a grid
save_plot: Alternative to ggsave, with better support for multi-figure...
theme_cowplot: Create the default cowplot theme
theme_nothing: Create a completely empty theme

Functions

add_sub Man page Source code
align_plots Man page Source code
background_grid Man page Source code
cowplot Man page
cowplot-package Man page
draw_figure_label Man page Source code
draw_grob Man page Source code
draw_label Man page Source code
draw_line Man page Source code
draw_plot Man page Source code
draw_plot_label Man page Source code
draw_text Man page Source code
get_legend Man page Source code
ggdraw Man page Source code
ggplot_to_gtable Source code
ggsave Man page Source code
gtable_remove_grobs Man page Source code
gtable_squash_cols Man page Source code
gtable_squash_rows Man page Source code
hinvert_title_grob Source code
onAttach Source code
panel_border Man page Source code
plot_dev Source code
plot_dim Source code
plot_grid Man page Source code
plot_theme Source code
save_plot Man page Source code
switch_axis_position Source code
switch_xaxis_position Source code
switch_yaxis_position Source code
theme_cowplot Man page Source code
theme_nothing Man page Source code
vinvert_title_grob Source code

Files

TODO
inst
inst/doc
inst/doc/plot_annotations.R
inst/doc/axis_position.R
inst/doc/shared_legends.Rmd
inst/doc/plot_grid.html
inst/doc/shared_legends.html
inst/doc/plot_grid.R
inst/doc/plot_grid.Rmd
inst/doc/plot_annotations.Rmd
inst/doc/shared_legends.R
inst/doc/introduction.R
inst/doc/plot_annotations.html
inst/doc/axis_position.html
inst/doc/introduction.html
inst/doc/axis_position.Rmd
inst/doc/introduction.Rmd
NAMESPACE
NEWS
R
R/cowplot.R
R/draw.R
R/plot_grid.R
R/add_sub.R
R/get_legend.R
R/themes.R
R/switch_axis.R
R/setup.R
R/gtable.R
R/save.R
vignettes
vignettes/shared_legends.Rmd
vignettes/plot_grid.Rmd
vignettes/plot_annotations.Rmd
vignettes/axis_position.Rmd
vignettes/introduction.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/draw_grob.Rd
man/add_sub.Rd
man/gtable_remove_grobs.Rd
man/align_plots.Rd
man/theme_nothing.Rd
man/ggdraw.Rd
man/draw_plot_label.Rd
man/gtable_squash_rows.Rd
man/save_plot.Rd
man/draw_plot.Rd
man/ggsave.Rd
man/draw_label.Rd
man/gtable_squash_cols.Rd
man/plot_grid.Rd
man/draw_figure_label.Rd
man/background_grid.Rd
man/get_legend.Rd
man/panel_border.Rd
man/cowplot.Rd
man/theme_cowplot.Rd
man/draw_line.Rd
man/draw_text.Rd
cowplot documentation built on May 19, 2017, 6:48 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.