theme_blinds | R Documentation |
the theme of blind-like
theme_blinds(colour = c("white", "grey"), axis = "y", ...)
colour |
the colour of rectangular, default is c('white', 'grey60'). |
axis |
character which grid of axis will be filled, default is 'y'. |
... |
additional parameters that passed to |
ggplot2 theme
library(ggplot2)
iris |> tidyr::pivot_longer(
cols = !Species,
names_to = 'var',
values_to = 'value'
) |>
ggplot(
aes(x=var, y=Species, color=value, size=value)
) +
geom_point() -> p
p +
theme_blinds(
colour = c('grey90', 'white'),
axis = 'y',
axis.line.y=element_line()
)
p +
theme_blinds(
colour = c('grey90', 'white'),
axis = 'x',
axis.line.x = element_line()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.