ggguides1.1.4 package

Simplified Legend and Guide Alignment for 'ggplot2'

center_legend_title

Center Legend Title Over Keys

collect_axes

Collect Axes from Patchwork Compositions

collect_legends

Collect Legends from Patchwork Compositions

colorbar_style

Style Continuous Color Bar Legends

get_legend

Extract Legend from a ggplot

ggguides-package

ggguides: Simplified Legend and Guide Alignment for 'ggplot2'

ggplot_add.legend_style_centered

Add legend_style_centered to ggplot

ggplotGrob.gg_autofit_legend

Convert auto-fit legend plot to gtable

ggplotGrob.gg_centered_title

Convert centered title plot to gtable

legend_auto_fit

Auto-fit Legend to Plot Height

legend_bottom

Place Legend on Bottom with Horizontal Layout

legend_hide

Hide Specific Legends

legend_horizontal

Set Legend Direction to Horizontal

legend_inside

Place Legend Inside the Plot Area

legend_keys

Customize Legend Key Appearance

legend_left

Place Legend on the Left with Proper Alignment

legend_merge

Force Legends to Merge

legend_none

Remove Legend from Plot

legend_order_guides

Control Legend Display Order

legend_order

Reorder Legend Entries

legend_reverse

Reverse Legend Order

legend_right

Place Legend on the Right with Proper Alignment

legend_select

Keep Only Specific Legends

legend_split

Force Legends to Stay Separate

legend_style

Style Legend Appearance

legend_top

Place Legend on Top with Horizontal Layout

legend_vertical

Set Legend Direction to Vertical

legend_wrap

Wrap Legend Entries into Columns or Rows

plot.gg_autofit_legend

Plot method for auto-fit legend plots

plot.gg_centered_title

Plot method for centered title plots

print.gg_autofit_legend

Print method for auto-fit legend plots (90° rotation)

print.gg_centered_title

Print method for centered title plots

shared_legend

Combine Plots with a Shared Legend

Provides one-liner functions for common legend and guide operations in 'ggplot2'. Simplifies legend positioning, styling, wrapping, and collection across multi-panel plots created with 'patchwork' or 'cowplot'.

  • Maintainer: Gilles Colling
  • License: MIT + file LICENSE
  • Last published: 2026-01-09