# Adding Greek letter on annotated lines

**URL:** <https://forum.generic-mapping-tools.org/t/adding-greek-letter-on-annotated-lines/359>\
**Category:** Q&A\
**Created:** [April 9, 2020, 10:00pm UTC](https://forum.generic-mapping-tools.org/t/adding-greek-letter-on-annotated-lines/359 "2020-04-09T22:00:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![axelwang](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@axelwang](https://forum.generic-mapping-tools.org/u/axelwang)\
**Post date:** [April 9, 2020, 10:00pm UTC](https://forum.generic-mapping-tools.org/t/adding-greek-letter-on-annotated-lines/359/1 "2020-04-09T22:00:01Z")

</div>

Hey, I am trying to plot an annotated line whose annotation would contain Greek letter. I am using GMT 6.0.0 on MacOS Catalina. My code is:  
gmt psxy -R200/2000/0.00000001/0.1 -Jx0.0035i/0.6il -Bxa200f100g200+l"Distance (km)" -Bya1p+l"G coefficient"   
-BnSWe -W2p,cyan g\_lg\_gamma\_0.5.txt -Sqn1:+f10p,Helvetica-Italic+l"@~p@~=0.5"+ap+v -K \>$ps

And the plot I am getting is

 ![Screen Shot 2020-04-09 at 14.57.59](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/1X/bc1fc359f195f11fa8a5f04b8185df4d1fd1843a.png)

So it seems Greek letters can’t be recognized in this scenario? Here I am using pi as an example, but I have also tried other Greek letters, and using the Octal codes as well, but none would work. I am wondering if I am doing something wrong or is this a bug?

Thanks for helping!

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [March 24, 2026, 2:04pm UTC](https://forum.generic-mapping-tools.org/t/adding-greek-letter-on-annotated-lines/359/2 "2026-03-24T14:04:05Z")

</div>

Late but PR #8952 should fix this.
