Re: pstext -M how to color background line by line
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Kristof- For the brown box, could you in addition to the first line which plots the 10' add a 2nd line which matches the name of the city but uses the @;<color>@ escape sequence to plot the text in the same brown color, rendering it invisible (but still being used to set the box width correctly)? -p On Mar 1, 2014, at 12:27 AM, Kristof Koch <[email protected]> wrote: > Dear list, > > I'm struggling with the coloration of a textbox created with pstext and the -M option. My desired result is seen in the mock-up in image 3. I found no way of doing it inline in the textfile fueling the paragraph. > > Therefore I'm now experimenting with two separate textboxes placed around the same coordinate. One with the brownish background oriented above and one with a white background oriented below the coordinate. > > Example image 1 looks almost perfect except for the almost invisible little step between the two boxes. Upon some tinkering and playing with extreme cases (image 2), I found the problem in the width of the content of the white box. > > pstext expands the box to a fitting width, if the content is wider than the specified width in the textfile. In other circumstances this is a very cool feature to have (and is saving me lots of time and headaches). In this case it destroys my optical illusion. I'd like to have the brownish box at the same width as the white box. > > Any ideas to obtain the desired look are welcome. > > All the best, > Kristof > > > > <1.png><2.png><3.png> > -- > 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]