[GRASS-user] ps.map and border
Hamish
hamish_b at yahoo.com
Tue Jul 1 11:02:28 EDT 2008
Jessica:
> I am working with grass 6.2
>
> I want to produce eps maps with ps.map, without any border.
> In grass 6.8, the command seem to be "border n"
> But this is no working for me.
> Is there another command for grass62 ?
> Is it actually possible produce psmaps without borders with
> grass62 ?
>
> Many thanks in advance,
you have to edit the PostScript file by hand.
see http://intevation.de/rt/webrt?serial_num=3389
quoting:
>> How does one get ps.map to stop drawing a black border around
>> everything?
H> To get rid of the box around the map region you would need to edit the
H> source code or PostScript output as follows.
H> Comment out the following lines in ps/ps.map/ps_map.c and recompile.
H> /* put border around map */
H> fprintf(PS.fp, "BW\n");
H> box_draw(PS.map_top - 0.5, PS.map_bot + 0.5,
H> PS.map_left + 0.5, PS.map_right - 0.5);
H> or go towards the end of the PostScript file and find two lines
H> that look like this & delete them.
H> BW
H> 72.5 108.0 614.8 522.8 B D
Hamish
More information about the grass-user
mailing list