mplot_hsv: Plot HSV color range

View source: R/mplot_hsv.R

mplot_hsvR Documentation

Plot HSV color range

Description

Plot HSV color range

Usage

mplot_hsv(
  h.steps = seq(0, 1, 0.025),
  s.steps = seq(0, 1, 0.05),
  v = 1,
  alpha = 1,
  pch = 16,
  bg = "black",
  axes = TRUE,
  pty = "s",
  cex = 2,
  mar = c(3, 3, 2, 0.5),
  lab.col = NULL,
  type = c("radial", "square"),
  line.col = "gray50",
  show.grid = TRUE,
  show.radial.grid = FALSE,
  show.grid.labels = 1,
  cex.axis = 1,
  cex.lab = 1,
  par.reset = TRUE
)

Arguments

h.steps

Float, vector: Hue values to plot. Default = seq(0, 1, .0125)

s.steps

Float, vector: Saturation values to plot. Default = same as h.steps

v

Float: Value.

alpha

Float: Alpha.

pch

Integer: pch plot parameter. Default = 15 (square)

bg

Color: Background color. Default = "black"

axes

Logical: for type = "square": If TRUE, draw axes.

pty

Character: for type = "square": "s", "r", par's pty argument. Default = "s" (square plot)

cex

Float: par/plot's cex argument.

mar

Float, vector: for type = "square": par's mar argument.

lab.col

Color: Color for axes and labels. Defaults to inverse of bg, i.e. white if bg is black

type

Character: "square" for square plot, "radial" for radial plot.

show.grid

Logical: if TRUE, show grid then type is "radial"

par.reset

Logical: If TRUE, reset par before exit

Author(s)

E.D. Gennatas

Examples

## Not run: 
mplot_hsv()

## End(Not run)

egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.