Escape code for bar over the character

Hello,
I am looking for the escape code for placing a bar over some character. Specifically, I am trying to write alpha with a bar over it, as shown in the attached image (displayed on the right).

Any other approach to achieve the same is also welcome.

Thanks for the help.
Where you plan to use this text may depend on the approach. If this is for annotating a graph then the following text string should (perhaps with additional tweaking) work for you:

\[1\F'Symbol'a\X1\x+04\y+15-

You can find an explanation for these escape codes in the online manual Volume 3 (User's Guide part 2), Annotations Chapter, Annotation Escape Codes section. The introduction to that section states:

Annotation escape codes provide formatting control and other features in annotations, including textboxes, tags, and legends. They can also be used in axis labels, control titles, SetVariable values using the styledText keyword, ListBox control contents, and with the DrawUserShape operation. Using these escape codes you can control the font, size, style and color of text, create superscripts and subscripts, create dynamically-updated text, insert legend symbols, and apply other effects.


This has been discussed in these forums; you might try searching here for more info as well.
On Windows (at least with the default font on my machine) there is an overbar character, which makes it a bit easier:
\[0\F'Symbol'a\X0\F]0¯
The \[0 stores information at the beginning point, then switch to Symbol font and make the alpha character, move the X position back to the beginning, restore the font and insert the overbar character.

On Macintosh i couldn't find an overbar, so I used a dash raised above the normal baseline:
\[0\F'Symbol'a\X0\F]0\y+20–\Y0

In Igor 7, using Unicode, you can enter it more or less directly:
α̅
That's a Unicode alpha following by u0305 or "combining overline".

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
If you adjust the numeric values in "\x+04\y+15" the position of the bar can be fine tuned. See the previously referenced section of the manual for more details.
ankit7540 wrote:
Both the answers above work for me. :-)

Yeah, well, jtigor is just a bit faster than I am I guess. His answer appeared while I was preparing mine...

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com