[GRASS-dev] random colors in d.vect

Martin Landa landa.martin at gmail.com
Fri Jun 2 05:27:37 EDT 2006


Hi,

good idea, I will try to add it...

Best, Martin

2006/6/2, Moritz Lennert <mlennert at club.worldonline.be>:
> Martin Landa wrote:
> > Hi all,
> >
> > I have rewritten the previous patch. I have separated the added code
> > to a function random_color() and tried to clean the code. Now it works
> > also for layer=-1 (i.e. according to layer number). There is also a
> > small bug in the current d.vect. Flag -c does not work (in connection
> > with layer=-1) for areas. It should be also solved. Please test it if
> > you like, I have no access to the CVS...
>
>
> Any chance of allowing random colors according to an attribute column
> instead of cat ?
>
> Moritz
>




More information about the grass-dev mailing list