File:Palettebarplot.png

From 太極
Jump to navigation Jump to search

Original file(534 × 615 pixels, file size: 9 KB, MIME type: image/png)

Summary

pal <- c("#E41A1C", "#377EB8", "#4DAF4A", "#984EA3", "#FF7F00")
# pal <- sample(colors(), 10) # randomly pick 10 colors 

barplot(rep(1, length(pal)), col = pal, space = 0, 
        axes = FALSE, border = NA)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current11:15, 10 May 2023Thumbnail for version as of 11:15, 10 May 2023534 × 615 (9 KB)Brb (talk | contribs)<syntaxhighlight lang='rsplus'> pal <- c("#E41A1C", "#377EB8", "#4DAF4A", "#984EA3", "#FF7F00") # pal <- sample(colors(), 10) # randomly pick 10 colors barplot(rep(1, length(pal)), col = pal, space = 0, axes = FALSE, border = NA) </syntaxhighlight>

The following page uses this file: