standard_colours: Standard colours for spacetime diagrams

standard_coloursR Documentation

Standard colours for spacetime diagrams

Description

This file specifies colours for the various diagrams of the package. The idea is to create a standard look-and-feel for all the diagrams in a customisable way.

Not all the colours are used by all the plotting routines.

Usage

data("standard_colours")

Format

The format is a named list:

ingoing_light red
outgoing_light blue
horizon magenta
singularity black
singularity_interior gray
r green
t orange
photon red
timelike_curve black
spacelike_curve blue
raindrop black
cone_interior gray
cone_edge black
captured red
escaping blue
critical green

Examples


schwarzschild()   # standard colours

col <- standard_colours
col$ingoing_light <- "blue"

schwarzschild(colors=col)    # ingoing light now blue



RobinHankin/schwarzschild documentation built on Nov. 13, 2024, 12:58 p.m.