Description Usage Arguments Examples
The base theme for this customized theme is cowplot. The default font for these themes is Times, which needs to be installed on the target system for these themes to work.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | theme_pprabhu(base_size = 14, base_family = "Times", line_size = 0.5,
rel_small = 12/14, rel_tiny = 11/14, rel_large = 16/14)
theme_pprabhu_grid(base_size = 14, base_family = "Times",
line_size = 0.5, rel_small = 12/14, rel_tiny = 11/14,
rel_large = 16/14, colour = "grey90")
theme_pprabhu_hgrid(base_size = 14, base_family = "Times",
line_size = 0.5, rel_small = 12/14, rel_tiny = 11/14,
rel_large = 16/14, colour = "grey90")
theme_pprabhu_vgrid(base_size = 14, base_family = "Times",
line_size = 0.5, rel_small = 12/14, rel_tiny = 11/14,
rel_large = 16/14, colour = "grey90")
theme_pprabhu_map(base_size = 14, base_family = "Times",
line_size = 0.5, rel_small = 12/14, rel_tiny = 11/14,
rel_large = 16/14)
|
base_size |
Overall font size |
base_family |
Font family for plot title, axis titles and labels, legend texts, etc. |
line_size |
Line size for axis lines |
rel_small |
Relative size of small text (e.g., axis tick labels) |
rel_tiny |
Relative size of tiny text (e.g., caption) |
rel_large |
Relative size of large text (e.g., title) |
colour |
Color for the grid lines |
colour |
Color for the grid lines |
colour |
Color for the grid lines |
colour |
Color for the grid lines |
1 | library(theme_pprabhu_dviz)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.