[GRASS-user] ps.map: Adding Raster Legend

   When displaying a raster map in the console monitor (d.mon) I can specify
d.rast.leg to have the color legend displayed. How do I do display the
raster map's color legend within ps.map?

   The 'label' command works on vector maps (lines, areas, points) but I
cannot find the equivalent command for raster maps. Would the 'read' command
work; the example on the man page suggests that it's for vector maps. Most
of the figures in the report I'm preparing are raster maps and I need the
color legend to accompany each one.

Rich

Rich wrote:

  When displaying a raster map in the console monitor (d.mon) I can
specify d.rast.leg to have the color legend displayed. How do I do
display the raster map's color legend within ps.map?

"colortable"

  The 'label' command works on vector maps (lines, areas, points) but I
cannot find the equivalent command for raster maps. Would the 'read'
command work; the example on the man page suggests that it's for
vector maps. Most of the figures in the report I'm preparing are
raster maps and I need the color legend to accompany each one.

use mean using category label? if you want labels-on-clumps I suggest to
do r.to.vect then v.label.

Hamish

On Sun, 28 Feb 2010, Hamish wrote:

"colortable"

Hamish,

   Ah! That's what it is. I'll go read the man page.

  The 'label' command works on vector maps (lines, areas, points) but I
cannot find the equivalent command for raster maps. Would the 'read'
command work; the example on the man page suggests that it's for
vector maps. Most of the figures in the report I'm preparing are
raster maps and I need the color legend to accompany each one.

use mean using category label?

   Yes.

Thanks,

Rich