[GRASS-dev] anyone working with ps.map?

Hi,

I am modified some files of ps.map to improve vlegend. Thus, I change the mean
of 'border' to the width of the line border, added 'color' y 'fcolor'
(pscolors) to custom border and background colors, respectively, added
a 'ref' to place the vlegend respect a point of reference as in the text
command, and modified the 'where' to understand negative values (it need
improve to use percent values) to place in te geographic region.

All this permit a easy place the vlegend in the lower-right corner of map as
(now only is correct with one column):

vlegend
    where -100 0 --> future 100% 0%
    ref right lower
    font Monaco
    fontsize 8
    border 1
    color black
    fcolor white
    end

Anyone worling in the same direction?

Best

--
E. Jorge Tizado

(attachments)

ps_vlegend.c.diff (10.3 KB)
local_proto.h.diff (365 Bytes)
r_vlegend.c.diff (2.81 KB)
vector.h.diff (777 Bytes)

Jorge Tizado wrote:

I am modified some files of ps.map to improve vlegend.

....

Anyone worling in the same direction?

yes,

which version of the source code are you working against?

ps.map's vlegend placement was improved/fixed a couple of months ago in
SVN. you should now be able to place the legend wherever you like it
and set custom column width. see http://trac.osgeo.org/grass/ticket/355
This is in SVN now and will be in the 6.4 and grass7 releases.

Hamish

ps- C++ style //coments are not encouraged. see SUBMITTING.

pps- please submit significant patches to the trac system, as they easily
get lost in the noise if posted to the mailing lists.