How to convert a nu to a nu with a tilde

When plotting IR spectra usually wavenumbers are the x-axis.
Commonly, one uses the greek letter ν with a tilde above a formula sign (symbol) for this.

how can one format the axis label such, that the ν (nu) has a tilde above?

The common caracters have neither in symbol nor in arial or times new roman a tilded ν.
only available is the "n" in symbol which corresponds to the commonly used ν for the frequency.

can anybody help me to explain how this can be achieved?
Preferentially not with gong to different x and y positions like:
(which of course works but is a little bit nasty)

<br />
<br />
\F'Symbol' \[0n  \F'Arial' this is a testing line<br />
\Y0 \sb-93 <br />
\X0~</span>
In Igor 7, you can use "\u03BD\u0303" which is "Greek Letter Nu" followed by "Combining Tilde". The Greek Letter Nu can be selected from Igor's character selector under the Special menu. The Combining Tilde isn't in there; you need to enter as the escape sequence \u0303.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
I can't seem to get this to work. I'm looking to put a tilde on epsilon_1 for a graph axis:

\Z30\F'symbol'e\B1


Also, I'd like to be able to put a hat on epsilon_1.
geologic wrote:
I can't seem to get this to work. I'm looking to put a tilde on epsilon_1 for a graph axis:

\Z30\F'symbol'e\B1


Also, I'd like to be able to put a hat on epsilon_1.


If you're using Igor Pro 7, try this command (tested on Macintosh):

Label bottom "\\Z30\rε̃\\[0\\B1\\M\\]0\rε̂\\[0\\B1\\M\\]0\rε\\[0\\B1\\M\\]0\\y+35\\x-65"


NOTE: The Label command above is missing the top hat symbol at the very end. If you happen to actually want the top hat, it's unicode character U+1F3A9 or UTF-8 0xF0 0x9F 0x8E 0xA9
axisLabelExample.png
Hey, this isn't working for me. I'm using a Mac.

I wasn't able to copy and use the code, but I copied it from your picture file. I attached what I was putting in. And I used mu since I couldn't find epsilon (where is that?).

Any thoughts? Thanks.
You're using Igor Pro 6. Unicode (and specifically combining characters, which is a Unicode thing) is not supported in IP6. You must use IP7 for Unicode support.
geologic wrote:
I can't seem to get this to work. I'm looking to put a tilde on epsilon_1 for a graph axis:

\Z30\F'symbol'e\B1


Also, I'd like to be able to put a hat on epsilon_1.


Is there a way to do this in Igor 6?
As I said above, you can't use combining characters in Igor 6 because it doesn't support Unicode. You can use the trick I demonstrated above when I moved the hat above the character. So if you execute something like this you'll get close, but you'll probably need to adjust the y and x values based on your font size and the exact position you want. The support of Unicode in Igor 7 makes these kinds of thinigs *much* easier.

Label bottom "\\Z30\\F'Symbol'e\\[0\\B1\\M\\]0\\y+15\\x-35~"
bech wrote:
This discussion reinforces the idea that IP7 would be much improved if it integrated Latex support. \tilde{\nu} is so much easier, and having to learn a special set of codes just for Igor is a pain....

There is a kluge for incorporating Latex (see http://www.igorexchange.com/project/LaTeXPictures), but integration would be much nicer. Of course, this is not a new topic (http://www.igorexchange.com/node/2781)


LaTeX support is a great feature for those familiar with LaTeX, but not everyone knows LaTeX syntax. The support for Unicode in IP7 is an improvement but I agree that we could do more.

Stay tuned for limited LaTeX support in a future version of Igor Pro (not IP7 though). If you have LaTeX equations/symbols/etc. that you would want to use in Igor axis labels or annotations, you might consider posting them here so we can test how they look.
aclight wrote:

LaTeX support is a great feature for those familiar with LaTeX, but not everyone knows LaTeX syntax.


True, but it is pretty common and simpler than Igor's syntax. (And if you already know one, then learning another seems a pain.) For labels that use LaTeX features, I use Greek letters, sub/superscripts. For example: $x^2$, $k_{\rm B}T$, and \textmu m (microns).
If it comes to post-processing the psfrags LaTeX package might help:
Long time ago I used this to alter eps-files in a publication (pstool for pdf's):
\begin{psfrags} \psfrag{ylabel}{$E_\text{Des}$} \includegraphics[width=0.50\textwidth]{Potential.eps} \end{psfrags}

Later on I tried to avoid symbols, e.g. 't (s)', in axis labels and used plain text, e.g. 'time (s)'. (Try a plotting light intensity vs filament current: you get an I/I diagram)
HJ
For IP8, I have added support for a subset of LaTeX syntax. Because it is a subset, I will need real life examples that Igor users would use in graph annotations and labels (as compared to writing a mathematical manuscript.)

For example the "\textmu m" above is not currently supported (I will add that to my list.)

Feel free to add examples.

Larry Hutchinson
WaveMetrics
support@WaveMetrics.com
Some examples:

Angle $\vartheta [^\circ]$ $\text{\normalfont\AA}^{-1}$ $ a \pm b $

The text command requires the amsmath package though.
For IP8, I have added support for a subset of LaTeX syntax.


That's great!
Larry Hutchinson wrote:
For IP8, I have added support for a subset of LaTeX syntax. Because it is a subset, I will need real life examples that Igor users would use in graph annotations and labels (as compared to writing a mathematical manuscript.)


Wow! I wonder if you may open the floodgates with the request for real life examples. I can suggest some that others might find esoteric and vica-versa.

IMHO, the best way to handle LaTeX would be to allow folks who have a LaTeX installation to ship out commands to their compiler engine. Perhaps a new prefex (\LTX) could serve as a switch for annotations and labels. But, that could run afoul of the internals I might guess, primarily because the return would likely be an image box (PNG, PDF, EPS ...). By primary example, I think of LaTeXiT with LinkBack on a Mac. I use this toolset extensively to generate math equations for my lecture slides in Curio. I also do copy+paste of the LaTeXiT outputs as picts that I place on to Igor Pro graphs. I would really like to be able to replace those picts with real LaTeX-generated annotations instead.

Could this ever be established as an option?

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
Larry Hutchinson wrote:
Shipping out commands is something I considered and is still an option for the future.

We'll see how things shake out with the current method.


Thanks.

Can you point to a reference of the commands that become available internally at some point in time (e.g. on the WaveMetrics.net site)? It would help to cross-correlate what is built in against what I (and others) might otherwise want to have accessible.

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH

Perhaps, but it would be a very long list.

It would be much easier to just try an expression and see if it works. If not, just go to one of the on-line sites to create a picture instead.

Larry Hutchinson
WaveMetrics
support@WaveMetrics.com

I have added support for the various spacing commands ( \:, \quad etc.) along with \widehat \hat \widetilde \tilde \overleftarrow and \overrightarrow. This is for IP9.

But in looking into \textmu, I can not quite see what it is supposed to do. Testing with either of the two on-line editors...

http://www.codecogs.com/latex/eqneditor.php
http://www.sciweavers.org/free-online-latex-equation-editor

... gave no change (acted like a nop.)

If you want an upright greek mu in front of the next char with no space, you can just use the unicode mu (U+03BC.) If that is what is desired, I could make \textmu do just that. I've attached a graph with this method.

Graph1.png