Placement of text with pstext -M
|Target version:||Candidate for next minor release|
There seems to be no way to align the resulting box of pstext -M other than centered on the given coordinate. Sure, I can shift the box using -D[j|J], but there is no "real" aligning like LB (for *L*eft *B*ottom) or CT which I'm trying to achieve. The only thing I get can be seen in the attached screenshot or the sample script.
In the current result, the box is centered on 130/30, but I want alignment of the box as explained in man pstext > textfiles Quote: "The alignment refers to the part of the text string that will be mapped onto the (x,y) point. Choose a 2 character combination of L, C, R (for left, center, or right) and T, M, B for top, middle, or bottom. e.g., BL for lower left."
Is there a way to achieve this? I'm using GMT Version 5.0.1b_r12393 on Ubuntu 12.10 (GNU/Linux 3.5.0-34-generic i686)
All the best,
#4 Updated by Kristof about 3 years ago
I had a moment enroute home to look into it. I have to admit that it is a case of PEBCAK. Shame on me. +jCT works as described by you. It seems I was confused with the aligning possibilities in the -F and -M options.
One minor thing I noticed is that it did not take into account the clearance to the surrounding box but aligned it at the text. I countered that with a little -D adjustment.
Thank you for your help and patience.
All the best,
#5 Updated by Kristof about 3 years ago
Please close this issue as the program works as desired als long as the human tells it the right things.
May I suggest a little clarification in the man-page for pstext -M that the -F option works on the box and the options in the text-file work on the text in the paragraph itself?