scale_fill_ptt | R Documentation |
Discrete PTT colour scale. Colours from ptt_pal
.
scale_fill_ptt(...)
scale_colour_ptt(...)
scale_color_ptt(...)
scale_colour_ptt_lg(...)
scale_color_ptt_lg(...)
... |
Other arguments passed on to |
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(d <- ggplot(dsamp, aes(carat, price, colour = clarity)) + geom_point())
d + scale_colour_ptt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.