GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/glocale.h>
Go to the source code of this file.
Macros | |
#define | MAX_COLORS 1024 |
#define | DEVIATION 128 |
Functions | |
void | Rast_make_random_colors (struct Colors *colors, CELL min, CELL max) |
make random colors More... | |
#define DEVIATION 128 |
Definition at line 10 of file color_rand.c.
#define MAX_COLORS 1024 |
Definition at line 9 of file color_rand.c.
make random colors
Generates random colors. Good as a first pass at a color table for nominal data.
colors | |
min | |
max |
Definition at line 24 of file color_rand.c.