Skip to contents

Plot colorjam steps in simple scatterplot format

Usage

plot_colorjam_steps(
  step,
  n = NULL,
  hue = NULL,
  lines = TRUE,
  return_type = c("ptcol", "step_data"),
  ...
)

Arguments

step

character name of colorjam step from colorjam_steps()

n

integer number of steps to show, default NULL uses all steps.

hue

numeric hue or character color to convert to color hue, used to colorize points using the actual C,L step values.

  • When no hue is supplied, the points are colored using a color gradient "Reds" in the order they appear.

...

additional arguments are ignored.

Value

list with step values, invisibly.

Details

Simple function to plot the series of Chroma/Luminance steps for a given named step series. See steps with colorjam_steps().

Examples

colorjam_steps()
#> [1] "v19" "v20" "v23" "v24"
step_name <- colorjam_steps()[1]
plot_colorjam_steps(step_name)


step_name <- tail(colorjam_steps(), 1)
plot_colorjam_steps(step_name)


plot_colorjam_steps(step_name, hue="orange")

plot_colorjam_steps(step_name, hue="gold")