autumnplot-gl

Hardware-accelerated geospatial data plotting in the browser


Project maintained by tsupinie Hosted on GitHub Pages — Theme by mattgraham

autumnplot-glDocs


autumnplot-gl / colormaps

Variable: colormaps

const colormaps: object

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

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

ColorMap

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

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

ColorMap

a Colormap object

Source

index.ts:21