Display colors from bivariate color function

display_colorRamp2D(
  col_fun,
  pretty.n = 12,
  xlab = "",
  ylab = "",
  main = "",
  ...
)

Arguments

col_fun

function output from colorRamp2D().

pretty.n

numeric passed to pretty() to determine the y-axis and x-axis label breaks, respectively, or NULL to use breaks encoded in col_fun.

xlab, ylab, main

character strings passed to title().

...

additional arguments are passed to title().

Details

This function provides a very rudimentary method for displaying a bivariate 2-D color matrix out from colorRamp2D().