Learn R Programming

rtemis (version 0.79)

mplot.hsv: Plot HSV color range

Description

Plot HSV color range

Usage

mplot.hsv(h.steps = seq(0, 1, 0.0125), s.steps = h.steps, v = 1,
  alpha = 1, pch = 15, bg = "black", axes = TRUE, pty = "s",
  cex = 1, mar = c(3, 3, 2, 0.5), lab.col = NULL, type = c("polar",
  "cartesian"))

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. Default = 1

alpha

Float: Alpha. Default = 1

pch

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

bg

Colot: Background color. Default = "black"

axes

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

pty

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

cex

Float: par/plot's cex argument. Default = 1

mar

Float, vector: for type = "cartesian": par's mar argument. Default = c(3, 3, 2, .5)

lab.col

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

type

String: "cartesian" for square plot, "polar" for radial plot. Default = "polar"