Greek Letters in Legend/Axis Titles

kathreen
Posts: 5
Joined: 2010-06-19
Location: United States

I know you can insert Greek letters in Igor using the Symbol font, but it would be really awesome for all Greek letters (both uppercase and lowercase) to be available in Special-> Character. In a scientific field we use them a lot as a one-off for a word (ie D_alpha.)


JimProuty's picture
Posts: 280
Joined: 2007-07-19
Location: United States

We're working on a new version of Igor that'll be a full Unicode program.

That will make all Greek letters available in all Igor text: both graph/graphics and programming text.

In the meantime, perhaps try this LaTeX package:

http://www.igorexchange.com/project/LaTeXPictures

--Jim Prouty
Software Engineer, WaveMetrics, Inc.


[ last edited May 9, 2012 - 19:31 ]
BMangum
Posts: 57
Joined: 2010-07-02
Location: United States

I have a related question.
When setting the appropriate scale for a plot, the units appear for the axis label - in my case microseconds, and the mu is very pretty (matching font).
When I want to use units in a textbox or elsewhere I have been using:

\F'Symbol'm\F'Arial's

Note that other than symbols I am using the default font which seems to be Arial.
The trouble is that the mu is now ugly (not matching font - see attached).
How do I use the nice pretty mu with the matching font that Igor automatically generates?

AttachmentSize
Graph4.png19.02 KB

Posts: 906
Joined: 2007-06-21
Location: United States

mu is available in both standard Macintosh and Windows Roman (a.k.a. Western) fonts. Unlike most non-ASCII characters, it has the same code on both platforms (181 decimal, B5 hexadecimal). Execute this in Igor:

Print num2char(0xB5)

Now copy what was printed in the history and paste into the textbox without using Symbol font. It will use whatever font is active at that point in the textbox.

This is how Igor generates the mu in an axis label. It uses whatever font is selected for the axis label. By default this is Geneva on Macintosh and Arial on Windows.


BMangum
Posts: 57
Joined: 2010-07-02
Location: United States

Beautiful, thank you.


Back to top