Skip to content

robmoss/ggplot2-theme-rgm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple plotting theme for ggplot2

This package provides the "theme_rgm" plotting theme for ggplot2. By default, it uses the freely-available Open Sans font when printing plots with Cairo.

License

This work is made available under the BSD 2-Clause license (see LICENSE).

Usage

library(themergm)

# Add the theme to an existing plot.
p <- ggplot(...) + ... + theme_rgm()

# Set the theme as the default theme.
theme_set(theme_rgm())

Install

Clone the repository (into the directory ggplot2-theme-rgm) and run:

R CMD INSTALL ggplot2-theme-rgm

Note that this package requires ggplot2 >= 2.2.0.

About

A plotting theme for ggplot2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages