Place Labels on Track-Segments

Kristof Koch <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hi List,

I'm trying to place labels along Track-Lines, that is a bunch of coordinates connected with a line. Currently I'm placing them at the intersection of a given helper line (nats_helper.d) with the following call.

		psxy \
			-R -J \
			-W0.03c,$NATS_COLOR \
			-SqXnats_helper.d:+l"$nats_ri $nats_na $nats_ri"+f6p,BellCentennialStd-NameNum,$NATS_COLOR \
			-K -O \
			>> $FILE <<<"$value"

This works as advertised, however I'd like to place the labels repeatedly along the track in the middle between two coordinates of the same track. Condition: The track segment is not shorter than x centimeter on the plot.

I'm looking for something like this:

coord ------- LABEL ------- coord ---- LABEL ---- coord ---- coord ---- LABEL ---- coord

Currently I have no idea on how to achieve this. Any ideas are highly welcome.

All the best,
Kristof

--
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

iQEcBAEBCgAGBQJS4EYMAAoJEJ3YS27/3eKHHssIAMNFgb10JEa74yd2aNheO3D5
Y9seb7YEyKtd86rRpmx8qaB1I65uU3UVkwkn+4pEJqcmyMPI3KchGrWFw8WHmau5
JOrt0H5JtUIvhgff+KqxgHg4cq8gHFpctDVK5NO+DgpidStPyF0j1h9MeDLinrrj
wQzdvWqZWLuCWMUxENtfQLNkss4ie0iXYO8GWYzodToC9SsmsyrkswXuWheRVNLN
ncEUCyu6xO2Alyo0T+aUyCj9SRiPlNywatM9QRuRQ+mX+8rggYUWl/YpPhSUEs6i
d6YFSiNMgn9axVDBAe9YwOsHwJkr7XHyQfNIkwTsH+1ADlwdgLlYpzKfpS7K38w=
=B9Q/
-----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.