Package: cowplot 1.1.3.9000

Claus O. Wilke

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

Provides various features that help with creating publication-quality figures with 'ggplot2', 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.

Authors:Claus O. Wilke [aut, cre]

cowplot_1.1.3.9000.tar.gz
cowplot_1.1.3.9000.zip(r-4.5)cowplot_1.1.3.9000.zip(r-4.4)cowplot_1.1.3.9000.zip(r-4.3)
cowplot_1.1.3.9000.tgz(r-4.4-any)cowplot_1.1.3.9000.tgz(r-4.3-any)
cowplot_1.1.3.9000.tar.gz(r-4.5-noble)cowplot_1.1.3.9000.tar.gz(r-4.4-noble)
cowplot_1.1.3.9000.tgz(r-4.4-emscripten)cowplot_1.1.3.9000.tgz(r-4.3-emscripten)
cowplot.pdf |cowplot.html
cowplot/json (API)
NEWS

# Install 'cowplot' in R:
install.packages('cowplot', repos = c('https://wilkelab.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/wilkelab/cowplot/issues

On CRAN:

19.16 score 707 stars 1.3k packages 58k scripts 369k downloads 298 mentions 56 exports 28 dependencies

Last updated 10 months agofrom:e1334a28bd. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winNOTEOct 31 2024
R-4.5-linuxNOTEOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:add_subagg_null_devicealign_marginalign_plotsas_grobas_gtableaxis_canvasbackground_gridcairo_null_devicecircle_key_glyphdraw_figure_labeldraw_grobdraw_imagedraw_labeldraw_linedraw_plotdraw_plot_labeldraw_textGeomDrawGrobget_legendget_panelget_panel_componentget_plot_componentget_subtitleget_titleget_x_axisget_y_axisggdrawggsave2gtable_remove_grobsgtable_squash_colsgtable_squash_rowsinsert_xaxis_grobinsert_yaxis_grobpanel_borderpdf_null_deviceplot_component_namesplot_componentsplot_gridplot_to_gtablepng_null_devicerectangle_key_glyphsave_plotset_null_devicestampstamp_badstamp_goodstamp_uglystamp_wrongtheme_cowplottheme_half_opentheme_maptheme_minimal_gridtheme_minimal_hgridtheme_minimal_vgridtheme_nothing

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Introduction to cowplot

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2020-08-22
Started: 2014-10-05

Readme and manuals

Help Manual

Help pageTopics
Add annotation underneath a plotadd_sub
Align multiple plots vertically and/or horizontallyalign_plots
Convert a base plot or a ggplot2 plot into a grobas_grob
Convert plot or other graphics object into a gtableas_gtable plot_to_gtable
Generates a canvas onto which one can draw axis-like objects.axis_canvas
Add/modify/remove the background grid in a ggplot2 plotbackground_grid
Add a label to a figuredraw_figure_label
Draw a grob.draw_grob GeomDrawGrob
Draw an imagedraw_image
Draw a text label or mathematical expression.draw_label
Draw a line from connected pointsdraw_line
Draw a (sub)plot.draw_plot
Add a label to a plotdraw_plot_label
Draw multiple text-strings in one go.draw_text
Retrieve the legend of a plotget_legend
Retrieve the panel or part of a panel of a plotget_panel get_panel_component
Get plot componentsget_plot_component plot_components plot_component_names
Get plot titlesget_subtitle get_title
Get plot axesget_x_axis get_y_axis
Set up a drawing layer on top of a ggplotggdraw
Cowplot reimplementation of 'ggsave()'.ggsave2
Remove named elements from gtablegtable_remove_grobs
Set the width of given columns to 0.gtable_squash_cols
Set the height of given rows to 0.gtable_squash_rows
Insert an axis-like grob on either side of a plot panel in a ggplot2 plot.insert_xaxis_grob insert_yaxis_grob
Add/remove the panel border in a ggplot2 plotpanel_border
Arrange multiple plots into a gridplot_grid
Null devicesagg_null_device cairo_null_device pdf_null_device png_null_device
Create customizable legend key glyphscircle_key_glyph rectangle_key_glyph
Alternative to 'ggsave()', with better support for multi-figure plots.save_plot
Sets the null graphics deviceset_null_device
Stamp plots with a label, such as good, bad, or ugly.stamp stamp_bad stamp_good stamp_ugly stamp_wrong
Create the default cowplot themetheme_cowplot theme_half_open
Create a theme for map plottingtheme_map
Minimalistic themes with gridstheme_minimal_grid theme_minimal_hgrid theme_minimal_vgrid
Create a completely empty themetheme_nothing