Announcement

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

  • Writing math on x axis

    Hi all,

    I am attempting to write the equivalent of $\hat{\hat{\alpha}}$ in latex (see picture) as the title of my x-axis in twoway:

    Click image for larger version

Name:	Screenshot 2022-02-14 at 3.30.15 PM.png
Views:	1
Size:	3.7 KB
ID:	1650004


    For the moment my attempt has been this (with
    Code:
    ustrunescape
    ):

    Code:
    twoway (connected cent_effect centili, sort msymbol(diamond) color(red)) (connected cent_effectXX centili, sort color(blue)), ytitle(Avg. Estimated treatment effect in Jan-Mar 2020) xtitle(Percentiles of the distribution of the average estimates effect using {it:E[`=ustrunescape("\u03B1\u0302u0302")']}  in Jan-Mar 2020)  ylabel(-1 (.25) 1.015) xlabel(0 (20) 105) legend(ring(0) position(4))
    but failed. The Unicode expression for ^ is \u0302.

    Could you please help me out with this? I am on stata17.

    Thank you,

    Federico



Working...
X