Re: Annotate polygon lines on the inside

Kristof Koch <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
The +n0c/20p was supposed to lift the label up from the corresponding line. I changed it to +n0c/2c to keep the units consistent. No help. 

Might there be a conflict with the +v (follow path) option? Removing +v leads to an offset, however the offset is not "considered in the coordinate system defined by the orientation of the line" (quote from man psxy > +ndx[/dy]). It applies the offset always oriented on the page, not by the line. Maybe I'm interpreting the man page wrong, but I expect the label offset orienting itself on the line and the direction of the line.

All the best, Kristof


Am 27.03.2014 um 22:26 schrieb Paul Wessel <[email protected]>:

> Not sure, but +n0c should have zero effect. Try with 1c to just see, or +n0/1c
> 
> On Mar 27, 2014, at 11:18 AM, Kristof Koch <[email protected]> wrote:
> 
>> Hi Paul,
>> 
>> thank you for your help! Currently I'm using -Sqd5c:+Lh+n0c/20p+v but the +n option seems to have no effect. The labels remain centered on the line. Any obvious mistake I'm making there?
>> 
>> All the best,
>> Kristof
>> 
>> 
>> Am 27.03.2014 um 21:24 schrieb Paul Wessel <[email protected]>:
>> 
>>> It would have to be -Sqn1:+Lh or something.  You would have to try +j settings and _n settings to move that label off the line though.  If you are picky as to where the label appears then you may have to write a custom script.
>>> -p
>>> 
>>> 
>>> On Mar 27, 2014, at 7:04 AM, Kristof Koch <[email protected]> wrote:
>>> 
>>>> Dear list,
>>>> 
>>>> I'm plotting a file (converted with kml2gmt) full of polygons. I'm not sure if there is a way to print the polygon label onto the inside along polygon line.
>>>> 
>>>> The file looks like
>>>> 
>>>>> -L"FIR ALGER"
>>>> 8.65000005974	36.8303781284
>>>> 8.65527705975	36.8324211284
>>>> ...
>>>> 
>>>> I'm trying to achieve something like
>>>> 
>>>> 
>>>>         FIR ALGER
>>>> ============================
>>>> 
>>>> After studying man psxy, all my experiments yielded error messages like "psxy: Syntax error -S option: Unrecognized modifiler psxy: Syntax error -S option" and the like.
>>>> 
>>>> Your help is appreciated.
>>>> 
>>>> All the best,
>>>> Kristof
>>>> 
>>>> --
>>>> My PGP Public Key: http://kristofkoch.de/pgp/
>>>> 
>>>> 
>>>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>>> 
>>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
>> 
>> 
>> --
>> My PGP Public Key: http://kristofkoch.de/pgp/
>> 
>> 
>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
> 
> To unsubscribe, send the message "signoff gmt-help" to [email protected]


--
My PGP Public Key: http://kristofkoch.de/pgp/


To unsubscribe, send the message "signoff gmt-help" to [email protected]
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTNJ8gAAoJEJ3YS27/3eKHOtMIAMfyKPNTYA6jHlUw7vgSkuaU
om/ce/O5mYD2lTLrEOaVpYnRJQLWZACmsy7tmmG3apsKH70J/4FntJ4h9BxRc8kh
qENzqn3C4HWCPB4+LIU2q9/5Y+I94gAx0RIEFoXUeqPZHZDEd8XDMOT5bhiel6Km
C0yABzg2a6r53PR5Yyba4wxyKm854UZXzhgdJfe2kF4xct9ErTMrSVndxP66ibOa
8ymGGBtZ5+pReJ40T/WbWlnU4A5n6dS9us/tvJAfP/LkUzlHZG2ZgJr4QIGmKLL1
aZprQrdHy5pnSkHVahe/gcQDklMMVgU9EAJm/g31HfBfUlPfv6SZ3YfjnHx6lnw=
=Pxzr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.