[GRASSLIST:713] Background color & d.his

Hi all;
I'm getting beautiful maps to be used in a presentation. And I'm usin "black"
as background color. So, when I want to display a map (this is a coastal
area) I use:

d.rast -o rastermap

In this way, null values are not displayed, and all cells belonging to sea
area black as the background.

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?
Or
Do you have any idea about how get a whole black background (including nulls)
with d.his?

Best regards

Javier

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@virgin.net>

(attachments)

d.his-patch (396 Bytes)

Hello javier,

[...]

So, my question is:
Is it possible to get a new map with the output of d.his?

I wrote a module, which does this.
But be aware, that the resulting Map is only for diplaying-purpose,
because the colors are reduced, so further anaysis on this maps be
generalized and maybe wrong...
Basicly this script mainly combines r.his and r.composite in one
command.
Information about this is shown here:
http://mitglied.lycos.de/stephanholl76/d.his.save.html

download here:
http://mitglied.lycos.de/stephanholl76/d.his.save.tgz

hth
  Stephan Holl

--
Stephan Holl

GnuPG Key-ID: 11946A09

19:51:20 up 3:57, 1 user, load average: 0.06, 0.09, 0.11