2 Oct 18:34
Question about pstext -Z+ -W
From: Stephan Eickschen <eickschen.haenel <at> T-ONLINE.DE>
Subject: Question about pstext -Z+ -W
Newsgroups: gmane.comp.gis.gmt.user
Date: 2008-10-02 16:35:35 GMT
Subject: Question about pstext -Z+ -W
Newsgroups: gmane.comp.gis.gmt.user
Date: 2008-10-02 16:35:35 GMT
Hi all,
I am wondering if I misunderstand something. I would like to put
some text on a 3D map using pstext and have an outline around each
text. I use the following commands:
==== snip =============================================
#!/bin/csh -f
rm -f .gmt*
set RJE="-JX5 -JZ2 -R0/10/0/10/0/1.1 -E60/30"
set eps=test2.eps
pstext $RJE -Z+ -W255o -B:"Band 1":/:"Band 2":/a0.5:"P":wsNEZ -V -P
<< EOF >! $eps
3 1 0.00 12 120 0 MC Class 1
4 7 0.25 12 120 0 MC Class 2
8 5 0.50 12 120 0 MC Class 3
EOF
ps2raster -A -Tf $eps
==== snap =============================================
The test is set a the right position, but the outline is misplaced.
It seems as if the z value is doubled: z=0 everything is fine
("Class 1") but for z=0.25 and z=0.5 the offset of the box from the
text is obvious and is doubled as z itself is doubled...
(s. attachment)
Any comments?
Regards,
Stephan
--
--------------------------------------------------------------------
Stephan Eickschen Fon: +49 (0)228 933 999 70
Augustastrasse 89 Fax: +49 (0)228 933 999 71
53173 Bonn Cell: +49 (0)170 54 781 60
Germany Email: eickschen.haenel <at> t-online.de
http://www.eiskultur.de
--------------------------------------------------------------------
RSS Feed