Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to add tilde and hat symbols in matlab figures?

3,823 views
Skip to first unread message

Janne Salomäki

unread,
Apr 22, 2004, 3:25:17 AM4/22/04
to
Hello,

How can I insert tilde(~) and hat(^) symbols above the characters in
Matlab figures? In Latex it is done like this
\hat{\psi} , but it doesn't work.

Francisco

unread,
Apr 22, 2004, 4:40:16 AM4/22/04
to
Hi,
You can prove to include these characters in the
CurrentObjectProperties (in edit). Firstly select the Object(legend,
title, text,...) and then write them. If it is necessary copy them
form a text/word proccessor and/or change the font name.
It works for the hat symbol, at least.

Francisco

Arno Linnemann

unread,
Apr 23, 2004, 4:14:51 AM4/23/04
to
Hello Janne,

it seems that you intend to include the graphics in a LaTeX document.
There is the tool LaPrint, available from the Matlab File
Exchange at

<http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4638>

LaPrint is a MATLAB function to print MATLAB graphics for inclusion
in LaTeX documents. LaPrint creates an eps-file and a tex-file. The
tex-file contains the annotation of the figure such as titles, labels
and texts. The eps-file contains the non-text part of the figure and
is called by the tex-file.

The main advantage of using LaPrint is that the annotation can be
neatly (e.g., including math mode and fancy font constructs) set
within LaTeX. LaPrint can be used from the command line or via a
graphical user interface (GUI).

Hope this helps,
Arno

Alireza

unread,
Jul 6, 2011, 5:10:10 AM7/6/11
to
Use

$\tilde{\lambda}$
and choose interpreter as Latex. That's it.


Alireza
Iran

0 new messages