From dtsoulis@yahoo.com Fri, 9 Mar 2001 02:58:34 -0800 (PST)
Date: Fri, 9 Mar 2001 02:58:34 -0800 (PST)
From: =?iso-8859-1?q?Dimitrios=20Tsoulis?= dtsoulis@yahoo.com
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/




From AAllen@rdc.uscg.mil Fri, 9 Mar 2001 08:36:44 -0500
Date: Fri, 9 Mar 2001 08:36:44 -0500
From: Allen, Art AAllen@rdc.uscg.mil
Subject: [Sea-mat] Math - text in Matlab

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=20

\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        =B5

\Upsilon
\circ    =BA
\nu
\Phi
\pm        =B1
\xi
\Psi
\geq
\pi
\Omega
\propto
\rho
\forall
\partial
\sigma
\exists
\bullet    ?
\varsigma
\ni
\div        =F7
\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        =B7
\ldots        ...
\perp
\neg        =AC
\prime        =B4
\wedge

\times        x
\0
\rceil
\surd
\mid        |
\vee
\varpi
\copyright    =A9
\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@rdc.uscg.mil> aallen@rdc.uscg.mil
=20




-----Original Message-----
From: Dimitrios Tsoulis [ mailto:dtsoulis@yahoo.com
<mailto:dtsoulis@yahoo.com> ]
Sent: Friday, March 09, 2001 5:59 AM
To: sea-mat@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/>=20


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






