Need to add special character in Axis Title

I have made a graph in the it I need to insert σ (small sigma) as title of Y-axis. I added that as

g1->SetTitle("graph; thickness; σ ");

But the plotted graph shows “:-” as the name of my Y axis. Is there a solution to this problem? Can my graph take special characters?

ROOT version : 6.14/06
gcc version : Red Hat 4.8.5-36

Try using #sigma instead of σ
ROOT does not support UTF8 so the workaround is to use LaTeX symbol

1 Like

Thank you, This works.