[GRASS5] Re: [bug #3049] (grass) ps.map doesn't like the color
purple
Hamish
hamish_nospam at yahoo.com
Wed Mar 2 20:08:19 EST 2005
> Subject: [bug #3049] (grass) ps.map doesn't like the color purple
>
> > ps.map/ps_colors.c
> >
> > {"white", 1.00, 1.00, 1.00},
> > {"black", 0.00, 0.00, 0.00},
> > {"red", 1.00, 0.00, 0.00},
> > {"green", 0.00, 1.00, 0.00},
> > {"blue", 0.00, 0.00, 1.00},
> > {"yellow", 1.00, 1.00, 0.00},
> > {"magenta", 1.00, 0.00, 1.00},
> > {"cyan", 0.00, 1.00, 1.00},
> > {"aqua", 0.00, 0.75, 0.75},
> > {"grey", 0.75, 0.75, 0.75},
> > {"gray", 0.75, 0.75, 0.75},
> > {"orange", 1.00, 0.50, 0.00},
> > {"brown", 0.75, 0.50, 0.25},
> > {"purple", 0.50, 0.00, 1.00},
> > {"violet", 0.50, 0.00, 1.00},
> > {"indigo", 0.00, 0.50, 1.00}
> >
> > Do the other colors of this list work?
>
> Yes, only purple doesn't.
cyan should break too.
G_color_values() in lib/gis/named_colr.c lists the above values.
include/colors.h doesn't include those two (and thus they don't show up
in D_color_list() et al.).
If anyone changes MAXCOLORS in colors.h, let me know because I'll have
to redo some of the color=none code in the display modules.
Hamish
More information about the grass-dev
mailing list