Escape code for bar over the character
ankit7540
Wed, 06/01/2016 - 11:51 pm
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.
\[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:
This has been discussed in these forums; you might try searching here for more info as well.
June 2, 2016 at 10:21 am - Permalink
\[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
June 2, 2016 at 10:42 am - Permalink
Both the answers above work for me. :-)
-Ankit
June 4, 2016 at 06:15 am - Permalink
June 6, 2016 at 05:56 am - Permalink
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
June 7, 2016 at 11:39 am - Permalink