Re: pstext: minor issue
David Pedreira <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Januka, You can avoid that by using a white outline for your box, with the thickness you need to include the subscript (although it is true that the text will not appear fully centered in the vertical direction). David ----------------------------------------- David Pedreira Área de Geodinámica Interna Departamento de Geología Universidad de Oviedo C/ J. Arias de Velasco, s/n 33005 Oviedo SPAIN Phone: +34 985 10 31 79 Fax: +34 985 10 31 03 El Jan 16, 2014, a las 3:30 PM, Januka Attanayake escribió: > Hi, > Came across a small issue with pstext and thought I'd share. In the attached figure, you can see that subscripted "w" in the "Mw" string extends beyond the boundaries of the background rectangle plotted with -W flag. I am using GMT 4.5.9. Perhaps this was fixed in a later version or that you could adjust the box height by modifying GMT defaults. Anyway, maps will be nicer if the whole subscripted letter is included within the background rectangle. > > My script: > pstext -J$proj -R$range -G255/0/0 -W255/255/255 -K -O -V -P >> $outps << END > -70.0 35.2 12 0 1 CT M@-w@-=7.0 > END > > Januka. > > -- > Januka Attanayake > Postdoctoral Research Associate > Laboratório de Sismologia > Complexo Interdisciplinar > Departamento de Física > Instituto Superior Técnico > Av. Rovisco Pais, 1 > 1049-001 Lisboa, Portugal > > University email: [email protected] > Homepage: http://sites.google.com/site/janukaattanayake/ > To unsubscribe, send the message "signoff gmt-help" to [email protected]<psmeca.png> To unsubscribe, send the message "signoff gmt-help" to [email protected]