[Therion] There's Grids then and there's Grids
Bruce Mutton
bruce.mutton at paradise.net.nz
Thu Nov 29 05:50:34 CET 2007
Thanks Stacho, Martin
Just goes to show how dangerous preconceived ideas can be.
I'll try out that code when I get a chance...
Bruce
-----Original Message-----
From: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] On Behalf
Of Stacho Mudrak
Sent: Thursday, 29 November 2007 3:42 a.m.
To: therion at speleo.sk
Subject: Re: [Therion] There's Grids then and there's Grids
Quoting Bruce Mutton <bruce.mutton at paradise.net.nz>:
> Ah, Stacho. Two types of grids!
> That explains part of my conundrum. Now that I know it exists I'm not sure
> what the map atlas grid might be for?
To show atlas pages layout, when "export atlas" is used.
> The other relates to the co-ordinate grid; illustrated by the attached
pdfs,
> scaled at 1:1000.
> When specified as 10 10 10 I get nice continuous grids, but when specified
> as 50 50 50 or 100 100 100 (and no other changes) I get cross hairs, which
> are not too my liking.
You get 1cm cross-hairs also in 10 10 10 grid, but they are too close to
each
other :) Just redefine grid symbol to receive solid grid -- i.e. add
following
lines to your layout:
code metapost
def s_hgrid (expr xpos, ypos, xsize, ysize) =
pickup PenD;
draw (
if xpos < 0: 0 else: -xsize/2 fi, 0
) -- (
if xpos > 0: 0 else: xsize/2 fi, 0
);
draw (
0, if ypos < 0: 0 else: -ysize/2 fi
) -- (
0, if ypos > 0: 0 else: ysize/2 fi
);
enddef;
endcode
Regards, S.
_______________________________________________
Therion mailing list
Therion at speleo.sk
http://www.speleo.sk/mailman/listinfo/therion
More information about the Therion
mailing list