In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what are the colors of colors () in R language. It is very detailed and has a certain reference value. Friends who are interested must finish it!
The problem of color matching is often involved in R drawing. 657 color names of R can be obtained by colors (). Head (colors (), 20) [1] "white", "aliceblue", "antiquewhite", "antiquewhite1" [5] "antiquewhite2"...
The problem of color matching is often involved in R drawing. 657 color names of R can be obtained by colors ().
Head (colors () 20) [1] "white", "aliceblue", "antiquewhite", "antiquewhite1" [5], "antiquewhite2", "antiquewhite3", "antiquewhite4", "aquamarine" [9], "aquamarine1", "aquamarine2", "aquamarine3", "aquamarine4" [13], "azure", "azure1", "azure2", "azure3" [17] "azure4"beige" "bisque"bisque1"
The specific color of each color name can be displayed by drawing.
Pdf (file = "RColors.pdf", height = 20jiao width = 30) par (mar=c) plot (0Let0, type = "n", xlim = c (0,1), ylim = c (0,1), axes = FALSE, xlab = ", ylab =") line=30col=22rect (rep ((0: (col-1) / col), line), sort (rep ((0: (line-1) / line), col), decreasing=T), rep (1:col/col), line) Sort (rep ((1:line/line), col), decreasing=T), border = "light gray", col=colors () [seq (1 ~ (col-1) / col)]) text (rep ((0: (col-1) / col), line) + 0.02, sort (rep ((0: (line-1) / line), col), decreasing=T) + 0.015, colors () [seq (1) lineweight)] Cex=0.9) dev.off () these are all the contents of the article "what are the colors of colors () in R language?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.