plotomics
plotomics
R docs
Python docs
GitHub
Preparing search index...
plotomics/core
sampleRamp
Function sampleRamp
sampleRamp
(
name
:
"viridis"
|
"rdbu"
|
"ltc"
|
"ltcdiv"
,
n
:
number
)
:
string
[]
Map a numeric domain to N evenly-sampled hex swatches from a ramp.
Parameters
name
:
"viridis"
|
"rdbu"
|
"ltc"
|
"ltcdiv"
n
:
number
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
plotomics
R docs
Python docs
GitHub
plotomics
Loading...
Map a numeric domain to N evenly-sampled hex swatches from a ramp.