<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994</link>
    <title>MATLAB Central Newsreader - special symbols in figures</title>
    <description>Feed for thread: special symbols in figures</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 06 Aug 2007 10:11:03 -0400</pubDate>
      <title>special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386393</link>
      <author>Thomas Clerc</author>
      <description>&lt;br&gt;
I have a problem to write correctly the ylabel of a figure.&lt;br&gt;
In LateX it is written: &lt;br&gt;
&lt;br&gt;
&amp;nbsp;ln((L(\alpha,\hat{\tau}_{\alpha})))&lt;br&gt;
&lt;br&gt;
but MatLab does not interprete it and put this expression&lt;br&gt;
with all the slashes and stuff. &lt;br&gt;
&lt;br&gt;
How could I do?&lt;br&gt;
&lt;br&gt;
Thnak you&lt;br&gt;
&lt;br&gt;
Thomas&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 11:17:57 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386402</link>
      <author>Loren Shure</author>
      <description>In article &amp;lt;f96s3n$qgm$1@fred.mathworks.com&amp;gt;, thomas.clerc@unifr.ch &lt;br&gt;
says...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I have a problem to write correctly the ylabel of a figure.&lt;br&gt;
&amp;gt; In LateX it is written: &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  ln((L(\alpha,\hat{\tau}_{\alpha})))&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; but MatLab does not interprete it and put this expression&lt;br&gt;
&amp;gt; with all the slashes and stuff. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How could I do?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thnak you&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thomas&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
You need to work on your TeX code.  Start by building it up.  For &lt;br&gt;
example, &lt;br&gt;
&lt;br&gt;
ylabel('\alpha')&lt;br&gt;
% and then try&lt;br&gt;
ylabel('\alpha,{\tau}_{\alpha}')&lt;br&gt;
&lt;br&gt;
Look here for more information on allowed TeX in MATLAB: &lt;br&gt;
&lt;a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.htm"&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.htm&lt;/a&gt;&lt;br&gt;
l&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Loren&lt;br&gt;
&lt;a href="http://blogs.mathworks.com/loren/"&gt;http://blogs.mathworks.com/loren/&lt;/a&gt;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 11:19:56 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386403</link>
      <author>Loren Shure</author>
      <description>In article &amp;lt;MPG.2120cd752d661810989795@news.mathworks.com&amp;gt;, &lt;br&gt;
loren@mathworks.com says...&lt;br&gt;
&amp;gt; In article &amp;lt;f96s3n$qgm$1@fred.mathworks.com&amp;gt;, thomas.clerc@unifr.ch &lt;br&gt;
&amp;gt; says...&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I have a problem to write correctly the ylabel of a figure.&lt;br&gt;
&amp;gt; &amp;gt; In LateX it is written: &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;  ln((L(\alpha,\hat{\tau}_{\alpha})))&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; but MatLab does not interprete it and put this expression&lt;br&gt;
&amp;gt; &amp;gt; with all the slashes and stuff. &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; How could I do?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thnak you&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thomas&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You need to work on your TeX code.  Start by building it up.  For &lt;br&gt;
&amp;gt; example, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ylabel('\alpha')&lt;br&gt;
&amp;gt; % and then try&lt;br&gt;
&amp;gt; ylabel('\alpha,{\tau}_{\alpha}')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Look here for more information on allowed TeX in MATLAB: &lt;br&gt;
&amp;gt; &lt;a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.htm"&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.htm&lt;/a&gt;&lt;br&gt;
&amp;gt; l&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
You may want to look at \wedge instead of \hat as well.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Loren&lt;br&gt;
&lt;a href="http://blogs.mathworks.com/loren/"&gt;http://blogs.mathworks.com/loren/&lt;/a&gt;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 11:39:32 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386407</link>
      <author>us</author>
      <description>Thomas Clerc:&lt;br&gt;
&amp;lt;SNIP latex-wows...&lt;br&gt;
&lt;br&gt;
a hint:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;t='$ln((L(\alpha,\hat{\tau}_{\alpha})))$';&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;text(.1,.5,t,'interpreter','latex');&lt;br&gt;
&lt;br&gt;
us&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 12:04:30 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386412</link>
      <author>Naor Movshovitz</author>
      <description>while on the subject, does anyone know why using a latex &lt;br&gt;
interpreted text anywhere in the figure causes the exported &lt;br&gt;
eps file to lose the very important bounding box &lt;br&gt;
information? Thanks,&lt;br&gt;
-naor (r2006a, winxp32)&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 12:33:58 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386415</link>
      <author>Thomas Clerc</author>
      <description>"us " &amp;lt;us@neurol.unizh.ch&amp;gt; wrote in message&lt;br&gt;
&amp;lt;f9719k$1a0$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Thomas Clerc:&lt;br&gt;
&amp;gt; &amp;lt;SNIP latex-wows...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; a hint:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      t='$ln((L(\alpha,\hat{\tau}_{\alpha})))$';&lt;br&gt;
&amp;gt;      text(.1,.5,t,'interpreter','latex');&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; us&lt;br&gt;
&lt;br&gt;
Thank you all for your help.&lt;br&gt;
&lt;br&gt;
I tried this code: &lt;br&gt;
&lt;br&gt;
x=1:20; plot(x,sqrt(x));&lt;br&gt;
t='$ln((L(\alpha,\hat{\tau}_{\alpha})))$';&lt;br&gt;
ylabel(text(.1,.5,t,'interpreter','latex'));&lt;br&gt;
&lt;br&gt;
It gives a plot with a number as ylabel instead of the&lt;br&gt;
mathematical expression I want.&lt;br&gt;
&lt;br&gt;
Any idea how to deal with that?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 12:46:19 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386416</link>
      <author>us</author>
      <description>Thomas Clerc:&lt;br&gt;
&amp;lt;SNIP down to typo...&lt;br&gt;
&lt;br&gt;
&amp;gt; ylabel(text(.1,.5,t,'interpreter','latex'));&lt;br&gt;
&lt;br&gt;
must read:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ylabel(t,'interpreter','latex');&lt;br&gt;
&lt;br&gt;
us&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 12:53:23 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386417</link>
      <author>Thomas Clerc</author>
      <description>&lt;br&gt;
It worked !!!!&lt;br&gt;
&lt;br&gt;
Merci beaucoup &#224; tous&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 06 Aug 2007 13:15:52 -0400</pubDate>
      <title>Re: special symbols in figures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153994#386426</link>
      <author>Thomas Clerc</author>
      <description>&lt;br&gt;
It worked !!!!&lt;br&gt;
&lt;br&gt;
Merci beaucoup &#224; tous&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
