Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Greek letters in graphs

    Dear Statalisters,

    I have trouble with the Greek letter tau in graph titles.

    Running
    Code:
    sysuse auto.dta, clear
    scatter price mpg, title("This is {&tau}")
    I get "T" in the title instead of the intended tau.

    Strangely, when I try with beta, I do get the Greek beta. Running the following works perfectly.
    Code:
    sysuse auto.dta, clear
    scatter price mpg, title("This is {&beta}")
    Any idea anyone?

    Thanks
    Attached Files
    Last edited by Ch Vellutini; 03 Feb 2021, 15:39.

  • #2
    I believe that's just what Tau looks like in the default Arial font. Here it is in Garamond, for instance:
    Click image for larger version

Name:	tau.png
Views:	1
Size:	51.5 KB
ID:	1592798


    You can change your graph font by using:

    Code:
    graph set window fontface //font here

    Comment


    • #3
      Many thanks Ali, this is exactly what I needed!

      Comment

      Working...
      X