Learn R Programming

metan (version 1.2.1)

theme_metan: Personalized theme for ggplot2-based graphics

Description

  • theme_metan(): Theme with a gray background and major grids.

  • theme_metan_minimal(): A minimalistic theme with half-open frame, white background, and no grid. For more details see theme.

  • transparent_color(): A helper function to return a transparent color with Hex value of "#000000FF"

Usage

theme_metan(grid = "none", col.grid = "white", color.background = "gray95")

theme_metan_minimal()

transparent_color()

Arguments

grid

Control the grid lines in plot. Defaults to "both" (x and y major grids). Allows also grid = "x" for grids in x axis only, grid = "y" for grid in y axis only, or grid = "none" for no grids.

col.grid

The color for the grid lines

color.background

The color for the panel background.