t?Mar?15??95?12?14?49?pm@bnr.ca>
Reply-To: grassu-list@max.cecer.army.mil
NNTP-Posting-Host: ux1.cso.uiuc.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Originator: daemon@ux1.cso.uiuc.edu
Hi,
Who knows who you can position a postscript file included in your with ps.map
script with psfile.
My included logo postscript file is somewhere put at the top of my raster
file defined in ps.map (the command where does not work in combination
with psfile).Thanks,
OkkeVVVVVVVVVVVVVVVVVVVVVVUUUUUUUUUUUUUUUUUUUUUUUUBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Okke Batelaan email: batelaan@hydr1.vub.ac.be
Laboratory of Hydrology NEW !! tel: x-32-2-6293021
Free University Brussels NEW !! fax: x-32-2-6293022
Pleinlaan 2
1050 BRUSSELS, BELGIUM
HHHHHHHHHHYYYYYYYYYYDDDDDDDDDRRRRRRROOOOOOOOOLLLLLLLLLOOOOOOOOOGGGGGYYYYYY
Okke,
You will have to edit the postscript file. In this case your logo.
Search the file using vi (visual editor, etc.) to find gsave. Below that
should be the translate position of the postscript file. It is usually in point
s
but can be changed to inches, as shown below. This measurement is in map inches
and the origin, I believe, is the upper left corner of the map. You can also
change the scale of your logo from within the postscript file. I hope the
example file below will help you make sense of my instructions.
THIS IS THE ACTUAL FILE....
GRASS 4.1 > more CAST3X1.ps
/inch {72 mul} def
/picstr 646 string def
/plotimage
{646 210 8 [646 0 0 -210 0 210]
{currentfile picstr readhexstring pop}
image
} def
gsave
4.732 inch 0.875 inch translate
3 inch 1 inch scale
plotimage
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Hope this helped.