Variable: colormaps
const
colormaps:object
Defined in: index.ts:23
All built-in colormaps
Type declaration
bluered()
bluered: (
level_min
,level_max
,n_colors
) =>ColorMap
Create a diverging blue/red colormap, where blue corresponds to the lowest value and red corresponds to the highest value
Parameters
Parameter | Type | Description |
---|---|---|
level_min | number | The lowest value in the color map |
level_max | number | The highest value in the color map |
n_colors | number | The number of colors |
Returns
a Colormap object
nws_storm_clear_refl
nws_storm_clear_refl:
ColorMap
pw_cape
pw_cape:
ColorMap
pw_speed500mb
pw_speed500mb:
ColorMap
pw_speed850mb
pw_speed850mb:
ColorMap
pw_t2m
pw_t2m:
ColorMap
pw_td2m
pw_td2m:
ColorMap
redblue()
redblue: (
level_min
,level_max
,n_colors
) =>ColorMap
Create a diverging red/blue colormap, where red corresponds to the lowest value and blue corresponds to the highest value
Parameters
Parameter | Type | Description |
---|---|---|
level_min | number | The lowest value in the color map |
level_max | number | The highest value in the color map |
n_colors | number | The number of colors |
Returns
a Colormap object