[GRASSLIST:1581] d.legend

Hi Grass users,

I have a problem with the size of the legend in raster maps. If I write:

r.rescale input=map1 output=map2 to=1,8
d.rast -o map=map2
d.legend map=map2 color=black

The legend takes up the monitor completely. But if I write:

r.rescale input=map1 output=map2 to=1,8
d.rast -o map=map2
d.legend -m map=map2 color=black

I can give the legend a smaller size using the mouse.
How can I put a smaller legend (that does not take up the monitor
completely) in the monitor without using the
mouse (without using the option -m)?

Thanks

ALBERTO SÁNCHEZ GÓMEZ
Centro de Estudios Hidrográficos del CEDEX
Paseo Bajo de la Virgen del Puerto, 3
28005 Madrid, España

I have a problem with the size of the legend in raster maps. If I
write:

$ d.legend map=map2 color=black

The legend takes up the monitor completely. But if I write:

$ d.legend -m map=map2 color=black

I can give the legend a smaller size using the mouse.

How can I put a smaller legend (that does not take up the monitor
completely) in the monitor without using the mouse (without using the
option -m)?

Use the at= option.

e.g.
d.legend map=map2 color=black at=20,80,5,15

Hamish