| plot_colors | R Documentation |
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,
...
)
col |
A list of either color names or color codes. |
text |
Strings that describe each color. |
cex |
character expansion factor relative to current
|
A plot made with R package graphics.
Vilmantas Gegzna
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.