# NOT RUN {
# Assign palette to a name.
my_palette <- sanzo.quad("c252")
# Concatenate two quads for a custom eight-colored palette.
c348 <- sanzo.quad("c348")
c341 <- sanzo.quad("c341")
custom_eight <- c(c348, c341)
# Use with base R.
plot(iris$Sepal.Width,
iris$Sepal.Length,
col = sanzo.quad("c341"))
# For examples of use with ggplot2, see https://github.com/jmaasch/sanzo.
# For examples of use as a gradient, see https://github.com/jmaasch/sanzo.
# }
Run the code above in your browser using DataLab