[GRASS-user] grid legend

Hello.

I wont to do something similar to what is done in:
http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node81.html
in figure 36 and 38 (processing figures with xfig). Having a figure where you could see the coordinates of your points

The problem is to generate x and y-axes with numbers, surrounding the map.
d.grid gives something similar, but I cant seem to turn of the grid lines and the numbers are "inside" the map.
tried ps.map, but can't move the numbers outside the x and y lines (see attachment)

If anyone has any suggestions how to do this or know how this is done with xfig, I would appreciate it.

Thanks.

Martin Ytre-Eide

(attachments)

test.ps (8 KB)

try d.grid with grid line color set to "none", and especially ps.out from
wiki addons.

Hamish

--- On Wed, 11/11/09, Martin Album Ytre-Eide wrote:

From: Martin Album Ytre-Eide <Martin.Album.Ytre-Eide@nrpa.no>
Subject: [GRASS-user] grid legend
To: "grass-user@lists.osgeo.org" <grass-user@lists.osgeo.org>
Date: Wednesday, November 11, 2009, 1:40 AM
Hello.

I wont to do something similar to what is done in:
http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node81.html
in figure 36 and 38 (processing figures with xfig). Having
a figure where you could see the coordinates of your points

The problem is to generate x and y-axes with numbers,
surrounding the map.
d.grid gives something similar, but I cant seem to turn of
the grid lines and the numbers are "inside" the map.
tried ps.map, but can't move the numbers outside the
x and y lines (see attachment)

If anyone has any suggestions how to do this or know how
this is done with xfig, I would appreciate it.

Thanks.

Martin Ytre-Eide

d.grid does not seem to accept color=none . I am sorry, but I was not able find the function ps.out.

A solution could be to use d.graph together with d.region.box (thank you, I found it at wiki addons) . Then I will have to make shell-script to generate the coordinates I want to use.

I just thought there was an easier solution, since it seems to be done by others (http://www.valledemexico.ambitiouslemon.com/gallery.html).

Martin

________________________________________
Fra: Hamish [hamish_b@yahoo.com]
Sendt: 13. november 2009 05:59
Til: grass-user@lists.osgeo.org; Martin Album Ytre-Eide
Emne: Re: [GRASS-user] grid legend

try d.grid with grid line color set to "none", and especially ps.out from
wiki addons.

Hamish

--- On Wed, 11/11/09, Martin Album Ytre-Eide wrote:

From: Martin Album Ytre-Eide <Martin.Album.Ytre-Eide@nrpa.no>
Subject: [GRASS-user] grid legend
To: "grass-user@lists.osgeo.org" <grass-user@lists.osgeo.org>
Date: Wednesday, November 11, 2009, 1:40 AM
Hello.

I wont to do something similar to what is done in:
http://www.gdf-hannover.de/lit_html/grass60_v1.2_en/node81.html
in figure 36 and 38 (processing figures with xfig). Having
a figure where you could see the coordinates of your points

The problem is to generate x and y-axes with numbers,
surrounding the map.
d.grid gives something similar, but I cant seem to turn of
the grid lines and the numbers are "inside" the map.
tried ps.map, but can't move the numbers outside the
x and y lines (see attachment)

If anyone has any suggestions how to do this or know how
this is done with xfig, I would appreciate it.

Thanks.

Martin Ytre-Eide

Martin Album Ytre-Eide wrote:

d.grid does not seem to accept color=none .

oh sorry. please file a wish. I'm quite busy now but will get back to it
eventually.

I am sorry, but I was not able find the function ps.out.

hmmm, it is not listed on the wiki page.
The source code is held in the addons code repository and may(?) build
automatically with the g.extension module in grass 6.5+.

http://trac.osgeo.org/grass/browser/grass-addons/ps/

it's actually called ps.output. See the mailing list archives for
screenshots, it does what you want quite nicely.

A solution could be to use d.graph together with
d.region.box (thank you, I found it at wiki addons) . Then I
will have to make shell-script to generate the
coordinates I want to use.

it could work, but isn't exactly a nice user friendly solution :slight_smile:

I just thought there was an easier solution, since it seems
to be done by others (http://www.valledemexico.ambitiouslemon.com/gallery.html).

good luck,
Hamish