guide_colourfan {bartMan} | R Documentation |
Colourfan guide
Description
Colourfan guide
Usage
guide_colourfan(
title = waiver(),
title.x.position = "top",
title.y.position = "right",
title.theme = NULL,
title.hjust = 0.5,
title.vjust = NULL,
label = TRUE,
label.theme = NULL,
barwidth = NULL,
barheight = NULL,
nbin = 32,
reverse = FALSE,
order = 0,
available_aes = c("colour", "color", "fill"),
...
)
guide_colorfan(
title = waiver(),
title.x.position = "top",
title.y.position = "right",
title.theme = NULL,
title.hjust = 0.5,
title.vjust = NULL,
label = TRUE,
label.theme = NULL,
barwidth = NULL,
barheight = NULL,
nbin = 32,
reverse = FALSE,
order = 0,
available_aes = c("colour", "color", "fill"),
...
)
Arguments
title |
Title |
title.x.position |
Title x position |
title.y.position |
Title y position |
title.theme |
Title theme |
title.hjust |
Title hjust |
title.vjust |
Title vjust |
label |
Label |
label.theme |
Label theme |
barwidth |
Barwidth |
barheight |
Barheight |
nbin |
Number of bins |
reverse |
Reverse |
order |
order |
available_aes |
Available aesthetics |
... |
Extra paramters |
Value
A 'grob' object representing a color fan. This 'grob' can be added to a grid-based plot or a ggplot2 object to visualize a range of colors in a fan-like structure. Each segment of the fan corresponds to a color specified in the 'colours' parameter, allowing for an intuitive representation of color gradients or palettes.
[Package bartMan version 0.1.1 Index]