[GRASSLIST:715] Re: Background color & d.his
Glynn Clements
glynn.clements at virgin.net
Mon Jul 14 12:03:00 EDT 2003
javier garcia - CEBAS wrote:
> The problem is when I use d.his, because this command doesn't allow to use a
> color for nulls or to use -o to do nothing with nulls.
>
> So, my question is:
> Is it possible to get a new map with the output of d.his?
Yes, with r.his.
> Or
> Do you have any idea about how get a whole black background (including nulls)
> with d.his?
If you have the source, the attached patch makes "d.his -n" behave
like "d.rast -o".
--
Glynn Clements <glynn.clements at virgin.net>
-------------- next part --------------
--- src/display/d.his/cmd/main.c~ Thu May 16 12:06:18 2002
+++ src/display/d.his/cmd/main.c Mon Jul 14 16:58:33 2003
@@ -188,6 +188,8 @@
make_gray_scale(&gray_colors) ;
D_set_colors_RGB();
+ D_set_overlay_mode(nulldraw->answer ? 1 : 0);
+
/* Now do the work */
intensity = 255 ; /* default is to not change intensity */
saturation = 255 ; /* default is to not change saturation */
More information about the grass-user
mailing list