Places an arbitrary grob somewhere onto the drawing canvas. By default, coordinates run from 0 to 1, and the point (0, 0) is in the lower left corner of the canvas.
● Data Source:
CranContrib
● Keywords:
● Alias: draw_grob
●
0 images
|
add_sub
(Package: cowplot) :
Add annotation underneath a plot
This function can add an arbitrary label or mathematical expression underneath the plot, similar to the sub parameter in base R.
● Data Source:
CranContrib
● Keywords:
● Alias: add_sub
●
0 images
|
Remove named elements from gtable
● Data Source:
CranContrib
● Keywords:
● Alias: gtable_remove_grobs
●
0 images
|
theme_nothing
(Package: cowplot) :
Create a completely empty theme
The theme created by this function shows nothing but the plot panel. Unfortunately, due to ggplot2 peculiarities, a little bit of padding remains to the left and bottom of the panel. This can be removed by adding labs(x = NULL, y = NULL) to the plot, see examples.
● Data Source:
CranContrib
● Keywords:
● Alias: theme_nothing
●
0 images
|
ggdraw
(Package: cowplot) :
Set up a drawing layer on top of a ggplot
Set up a drawing layer on top of a ggplot
● Data Source:
CranContrib
● Keywords:
● Alias: ggdraw
●
0 images
|
plot_theme
(Package: cowplot) :
Get theme of a ggplot2 plot
Get theme of a ggplot2 plot
● Data Source:
CranContrib
● Keywords:
● Alias: plot_theme
●
0 images
|
This function adds a plot label to the upper left corner of a graph (or an arbitrarily specified position). It takes all the same parameters as draw_text , but has defaults that make it convenient to label graphs with letters A, B, C, etc. Just like draw_text() , it can handle vectors of labels with associated coordinates.
● Data Source:
CranContrib
● Keywords:
● Alias: draw_plot_label
●
0 images
|
Set the height of given rows to 0.
● Data Source:
CranContrib
● Keywords:
● Alias: gtable_squash_rows
●
0 images
|
save_plot
(Package: cowplot) :
Alternative to ggsave, with better support for multi-figure plots.
This function replaces the standard ggsave function for saving a plot into a file. It has several advantages over ggsave . First, it uses default sizes that work well with the cowplot theme, so that frequently a plot size does not have to be explicitly specified. Second, it acknowledges that one often first develops individual plots and then combines them into multi-plot figures, and it makes it easy—in combination with plot_grid —to carry out this workflow. Finally, it makes it easy to adjust the aspect ratio of the figure, which is frequently necessary to accommodate the figure legend.
● Data Source:
CranContrib
● Keywords:
● Alias: save_plot
●
0 images
|
Places a plot somewhere onto the drawing canvas. By default, coordinates run from 0 to 1, and the point (0, 0) is in the lower left corner of the canvas.
● Data Source:
CranContrib
● Keywords:
● Alias: draw_plot
●
0 images
|