View source: R/huePositionPlot.R
huePositionPlot | R Documentation |
A simple visualization of the hue positions for a given Munsell value/chroma according to Soil Survey Technical Note 2.
huePositionPlot(
value = 6,
chroma = 6,
chip.cex = 4.5,
label.cex = 0.75,
contour.dE00 = FALSE,
origin = NULL,
origin.cex = 0.75,
grid.res = 2,
...
)
value |
a single Munsell value |
chroma |
a single Munsell chroma |
chip.cex |
scaling for color chip rectangle |
label.cex |
scaling for color chip |
contour.dE00 |
logical, add dE00 contours from |
origin |
point used for distance comparisons can be either single row matrix of CIELAB coordinates, a character vector specifying a Munsell color. By default ( |
origin.cex |
scaling for origin point |
grid.res |
grid resolution for contours, units are CIELAB A/B coordinates. Caution, small values result in many pair-wise distances which could take a very long time. |
... |
additional arguments to |
nothing, function is called to generate graphical output
## Not run:
huePositionPlot(value = 4, chroma = 4)
huePositionPlot(value = 6, chroma = 6)
huePositionPlot(value = 8, chroma = 8)
huePositionPlot(value = 6, chroma = 6, contour.dE00 = TRUE, grid.res = 2)
# shift origin to arbitrary CIELAB coordinates or Munsell color
huePositionPlot(origin = cbind(40, 5, 15), origin.cex = 0.5)
huePositionPlot(origin = '5G 6/4', origin.cex = 0.5)
huePositionPlot(origin = '10YR 3/4', origin.cex = 0.5)
huePositionPlot(value = 3, chroma = 4, origin = '10YR 3/4', origin.cex = 0.5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.