Path: news.mathworks.com!not-for-mail
From: "Thomas Clerc" <thomas.clerc@unifr.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: special symbols in figures
Date: Mon, 6 Aug 2007 12:33:58 +0000 (UTC)
Organization: Fribourg
Lines: 27
Message-ID: <f974fm$l65$1@fred.mathworks.com>
References: <f96s3n$qgm$1@fred.mathworks.com> <f9719k$1a0$1@fred.mathworks.com>
Reply-To: "Thomas Clerc" <thomas.clerc@unifr.ch>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186403638 21701 172.30.248.35 (6 Aug 2007 12:33:58 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 12:33:58 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1074433
Xref: news.mathworks.com comp.soft-sys.matlab:422582


"us " <us@neurol.unizh.ch> wrote in message
<f9719k$1a0$1@fred.mathworks.com>...
> Thomas Clerc:
> <SNIP latex-wows...
> 
> a hint:
> 
>      t='$ln((L(\alpha,\hat{\tau}_{\alpha})))$';
>      text(.1,.5,t,'interpreter','latex');
> 
> us

Thank you all for your help.

I tried this code: 

x=1:20; plot(x,sqrt(x));
t='$ln((L(\alpha,\hat{\tau}_{\alpha})))$';
ylabel(text(.1,.5,t,'interpreter','latex'));

It gives a plot with a number as ylabel instead of the
mathematical expression I want.

Any idea how to deal with that?