define_delta_colorramp: Define a colorramp based one set of colors for the negative...

Description Usage

View source: R/figures_functions_miscellaneous.R

Description

Define a colorramp based one set of colors for the negative range and another set of colors for the positive range

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
define_delta_colorramp(
  zlim,
  zlim_trim = NULL,
  Nc = 255,
  use_rev_cols = FALSE,
  add_extremes_to_legend = FALSE,
  col_zero = "gray",
  cols_blues = c("royalblue", "cornflowerblue", "lightblue"),
  cols_reds = c("lightsalmon", "mediumorchid1", "purple", "purple4")
)

DrylandEcology/rSW2analysis documentation built on Nov. 8, 2021, 4:20 p.m.