[GRASS5] d.area.class

Eric G. Miller egm2 at jps.net
Sun Feb 17 16:10:14 EST 2002


On Sun, Feb 17, 2002 at 01:14:07PM +0000, M Lennert wrote:
Content-Description: Mail message body
> Hello,
> 
[snip]
> Linked to that a question I asked in another mail without getting a
> response (I guess is was buried in the rest) :
> 
> Is it possible to access the predefined palettes (greyscales, red to
> green, etc) from the shell ?  And if not, how are they implemented
> (i.e. how to create color scale dynamically depending on the number of
> categories) ? A hint to the relevant places in the source code would
> be enough (I just don't want to reinvent the wheel).

No, I don't think you can access them from the shell.  They are
implemented as specific library routines.  There are a bunch of routines
in the gis library like color_*.c that implement various color things.

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list