vlegend in ps.map

Hello !

Using ps.map, I'm trying to cerate a legend giving the different width's of
vector lines that I creates using cwidth. But I never see a legend in the
resulting postscript file. I have the feeling I'm missing something
fundamental, what might it be ?

My script is really short so here it is:

_____________
vect asile98
  color red
  cwidth 0.0004
  end
scale 1:200
end
vlegend
   where 0 0
   font Courier
   fontsize 12
end
------------

Moritz

mlennert@club.worldonline.be wrote:

Hello !

Using ps.map, I'm trying to cerate a legend giving the different width's of
vector lines that I creates using cwidth. But I never see a legend in the
resulting postscript file. I have the feeling I'm missing something
fundamental, what might it be ?

My script is really short so here it is:

_____________
vect asile98
  color red
  cwidth 0.0004
  end
scale 1:200
end
vlegend
   where 0 0
   font Courier
   fontsize 12
end
------------

In this case width in legend is set by paremeter 'width' in
vect section:

vect asile98
  color red
  cwidth 0.0004 # used in map
  width 5 # used in legend
  end

but i thing that you should get something anyway - at least label.
(Maybe move legend by 'where' to PS bounding box: 'where 3 3'?)

Please tell me if it doesn't help.

Radim