Based on the rake angle, focal styles are assigned an index and assigned a color by foc.color
foc.color(i, pal = 0)
index to list of focal rupture styles
vector of colors
Since the colors used by focal programs are arbitrary, this routines allows one to change the coloring scheme easily.
foc.icolor returns an index that is used to get the color associated with that style of faulting
Color for plotting, either a name or HEX RGB
Jonathan M. Lees <email@example.com>
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.