Learn R Programming

autograph (version 0.1.2)

map_themes: Many themes

Description

This function enables all plots to be quickly, easily and consistently themed. This is achieved by setting a theme option that enables the appropriate palette to be used for all autograph-consistent plotting methods.

The following themes are currently available: default, bw, iheid, ethz, uzh, rug, unibe, crisp, neon, rainbow.

Usage

stocnet_theme(theme = NULL)

Value

This function sets the theme and palette(s) to be used across all stocnet packages. The palettes are written to options and held there.

Arguments

theme

String naming a theme. By default "default". This string can be capitalised or not.

Examples

Run this code
stocnet_theme("default")
plot(manynet::node_degree(ison_karateka))
stocnet_theme("rug")
plot(manynet::node_degree(ison_karateka))

Run the code above in your browser using DataLab