plot.color_scheme | R Documentation |
Quickly displays a color scheme returned by color()
.
## S3 method for class 'color_scheme'
plot(x, ...)
x |
A |
... |
Currently not used. |
plot()
is called for its side-effects: it results in a graphic
being displayed (invisibly returns x
).
N. Frerebeau
Other diagnostic tools:
change()
,
compare()
,
plot_map()
,
plot_scheme()
,
plot_scheme_colourblind()
,
plot_tiles()
plot(colour("bright")(7))
plot(colour("smooth rainbow")(256))
## Plot colour schemes
plot_scheme(colour("bright")(7))
plot_scheme(colour("sunset")(11))
plot_scheme(colour("YlOrBr")(9))
plot_scheme(colour("discrete rainbow")(14))
## Plot diagnostic maps
plot_map(colour("bright")(7))
plot_map(colour("sunset")(11))
plot_map(colour("YlOrBr")(9))
plot_map(colour("discrete rainbow")(14))
## Plot diagnostic images
plot_tiles(colour("discrete rainbow")(14), n = 256)
plot_tiles(colour("discrete rainbow")(23), n = 256)
plot_tiles(colour("smooth rainbow")(256), n = 256)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.