standard_colours | R Documentation |
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.
data("standard_colours")
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 |
schwarzschild() # standard colours
col <- standard_colours
col$ingoing_light <- "blue"
schwarzschild(colors=col) # ingoing light now blue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.