conesa_pal {RColorConesa} | R Documentation |
Interpolate a Conesa Color Palette
Description
The conesa_pal
function offers a flexible way to interpolate colors from the Conesa color palettes. This function provides an interface to generate a range of colors based on the selected Conesa palette, allowing for enhanced customization in scientific visualizations.
Usage
conesa_pal(palette = "main", reverse = FALSE, ...)
Arguments
palette |
A character string specifying the name of the desired palette from the |
reverse |
A logical value indicating whether the colors in the selected palette should be reversed. Default is |
... |
Additional arguments to be passed to the |
Details
The Conesa color palettes, available in the RColorConesa package, have been specifically curated for scientific visualizations. The conesa_pal
function leverages the colorRampPalette
function from the grDevices
package to interpolate between the colors of the chosen Conesa palette. This interpolation capability ensures that users can generate a continuous range of colors, suitable for representing a wide variety of data types and scales. Whether visualizing continuous data gradients or categorical distinctions, the interpolated Conesa palettes can provide clarity and aesthetic appeal to the visual representation.
Author(s)
Pedro Salguero Garcia. Maintainer: pedsalga@upv.edu.es