plot_colors.Rd
A convenience function to Vizualize colors by either color name or color code.
plot_colors(
col,
text = as.character(col),
Title = "Colors",
cex = 1.2,
as.legend = FALSE,
...
)
A list of either color names or color codes.
Strings that describe each color.
character expansion factor relative to current
par("cex")
. Used for text, and provides the default for
pt.cex
.
A plot made with R package graphics.
Other spHelper plots:
check_palette()
,
layer_spRangeMean()
,
plot_hyPalette()
,
plot_spCompare()
,
plot_spDiff()
,
plot_spDistribution()
,
qplot_confusion()
,
qplot_crosstab()
,
qplot_infoDim()
,
qplot_kAmp()
,
qplot_kSp()
,
qplot_prediction()
,
qplot_spRangeCenter()
,
qplot_spRangeMedian()
,
qplot_spStat()
,
qplot_spc()
,
rmExpr()
,
rm_stripes()
,
stat_chull()
plot_colors("#ee0000")
plot_colors("#ee0000", "RED color")
plot_colors(c("red","red4","orange2","green3","skyblue"))