#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_make_rainbow_colors (struct Colors *colors, CELL min, CELL max) |
make rainbow colors | |
int | G_make_rainbow_fp_colors (struct Colors *colors, DCELL min, DCELL max) |
int | G_add_rainbow_colors (struct Colors *colors, CELL min, CELL max) |
int G_add_rainbow_colors | ( | struct Colors * | colors, | |
CELL | min, | |||
CELL | max | |||
) |
Definition at line 50 of file color_rain.c.
int G_make_rainbow_colors | ( | struct Colors * | colors, | |
CELL | min, | |||
CELL | max | |||
) |
make rainbow colors
Generates a "shifted" rainbow color table - yellow to green to cyan to blue to magenta to red. The color table is based on rainbow colors. (Normal rainbow colors are red, orange, yellow, green, blue, indigo, and violet.) This table is good for continuous data, such as elevation.
colors | ||
min | ||
max |
Definition at line 35 of file color_rain.c.
References G_init_colors().
Referenced by G_read_colors().
int G_make_rainbow_fp_colors | ( | struct Colors * | colors, | |
DCELL | min, | |||
DCELL | max | |||
) |
Definition at line 42 of file color_rain.c.
References G_init_colors(), and G_mark_colors_as_fp().
Referenced by G_make_colors(), and G_read_colors().
int blu |
int grn |
int red |