[Sea-mat] Math - text in Matlab

Allen, Art AAllen at rdc.uscg.mil
Fri Mar 9 08:36:44 EST 2001


Dimitris,

This is a good question, "What TeX characters can be used by Matlab?"

The manual suggest that you "See the text String property for a list of
available TeX characters."   Of course, the manual provide zero guidance on
how to do that!

Since, I am using Matlab Release 12, I followed this sequence in the Help
menu.


Using Matlab
        Graphics
              Axes Properties
                  Labeling and Appearance Properties
                        Creating Axes with Specific Characteristics
                            Text
                                  String


and found the following information and table which is partially reproduce
here as a list, which does not include your overline. Sorry.


String                       string

The text string. Specify this property as a quoted string for single-line
strings, or as a cell array of strings or a
padded string matrix for multiline strings. MATLAB displays this string at
the specified location. Vertical slash
characters are not interpreted as linebreaks in text strings, and are drawn
as part of the text string. See the
"Remarks" section for more information.

When the text Interpreter property is Tex (the default), you can use a
subset of TeX commands
embedded in the string to produce special characters such as Greek letters
and mathematical symbols. The
following table lists these characters and the character sequence used to
define them.


Character Sequence and some of the symbols.

\alpha
\upsilon
\sim
~
\beta
\phi
\leq
\gamma
\chi
\infty
\delta
\psi 

\clubsuit
\epsilon
\omega
\diamondsuit
\zeta
\Gamma
\heartsuit
\eta
\Delta
\spadesuit
\theta
\Theta
\leftrightarrow
\vartheta
\Lambda
\leftarrow
\iota
\Xi
\uparrow
\kappa
\Pi
\rightarrow
\lambda
\Sigma
\downarrow
\mu        µ

\Upsilon
\circ    º
\nu
\Phi
\pm        ±
\xi
\Psi
\geq
\pi
\Omega
\propto
\rho
\forall
\partial
\sigma
\exists
\bullet    ?
\varsigma
\ni
\div        ÷
\tau
\cong
\neq
\equiv
\approx
\aleph
\Im
\Re
\wp
\otimes
\oplus
\oslash
\cap
\cup
\supseteq
\supset
\subseteq
\subset
\int
\in
\o
\rfloor
\lceil
\nabla
\lfloor
\cdot        ·
\ldots        ...
\perp
\neg        ¬
\prime        ´
\wedge

\times        x
\0
\rceil
\surd
\mid        |
\vee
\varpi
\copyright    ©
\langle
\rangle

Respectively,

Art Allen
U.S. Coast Guard
Research and Development Center
1082 Shennecossett Road
Groton, CT, 06340-6096
(860) 441-2747
(860)441-2792 FAX
 <mailto:aallen at rdc.uscg.mil> aallen at rdc.uscg.mil
 




-----Original Message-----
From: Dimitrios Tsoulis [ mailto:dtsoulis at yahoo.com
<mailto:dtsoulis at yahoo.com> ]
Sent: Friday, March 09, 2001 5:59 AM
To: sea-mat at whoi.edu
Subject: [Sea-mat] Math - text in Matlab



Dear sea-mat members,

this is my first mail to the list, so first of
all I have to introduce muself. My name is Dimitris
Tsoulis and I work in geodesy and gravity field
modelling in particular. I use Matlab, as a standard
tool not only for graphs but for numerical
computations
as well.

My question is:

What TeX-alike structures are permissible in Matlab?
For example, I want to write in the xlabel of a figure
'\overline{P}_{nm}', but it doesn't work. However,
'P_{nm}' works out fine, which leaves me with the
question.

Thanks in advance for your help.

best regards

Dimitris





__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/ <http://personal.mail.yahoo.com/> 


_______________________________________________
Sea-mat maillist  -  Sea-mat at whoi.edu
http://www.whoi.edu/mailman/listinfo/sea-mat
<http://www.whoi.edu/mailman/listinfo/sea-mat> 







More information about the Sea-mat mailing list