Skip to contents

Convenience wrapper that calls rgb_colors_for_plot() and get_colors_duo() and renders the result as a stacked bar chart.

Usage

plot_color_bars(n_colors)

Arguments

n_colors

Integer >= 2 – number of palette stops to plot.

Value

Invisible NULL. Called for the side effect of plotting.

Examples

plot_color_bars(12)