| 1 | |
| 2 | |
| 3 | <div style="height: 2em;"></div> |
| 4 | |
| 5 | Custom color palettes can also be <i>registered</i> to be able to |
| 6 | call custom palettes by name. If the optional argument <code style="display: inline;">register = "Custom-Palette"</code> |
| 7 | is set |
| 8 | (where <code style="display: inline;">"Custom-Palette"</code> is the name of your new palette) |
| 9 | the palette will be added to the list of available color palettes. |
| 10 | Existing palettes can also be overruled. Note that the graphical |
| 11 | interfaces (<code style="display: inline;"><a href="https://colorspace.R-Forge.R-project.org/reference/choose_palette.html" target="_blank">choose_palette()</a></code>) will not use custom palettes. |
| 12 | These register-calls can also be added to your local |
| 13 | <code style="display: inline;">~/.Rprofile</code>. |
| 14 | |
| 15 | <div style="height: 2em;"></div> |
| 16 | <comment>## Register custom color palette</comment> |