<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/245139</link>
    <title>MATLAB Central Newsreader - text object with multiple lines</title>
    <description>Feed for thread: text object with multiple lines</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 23 Feb 2009 12:06:42 -0500</pubDate>
      <title>text object with multiple lines</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/245139#630157</link>
      <author>Sebastian Graeber</author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I recently added text-objects to some plotted graph. Now I will have a&lt;br&gt;
multiple-line text-object, but have no idea how to get this worked out ...&lt;br&gt;
&lt;br&gt;
This is my one-line example:&lt;br&gt;
&lt;br&gt;
text(0,1,'Here is the text')&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Now i tried to have two lines of text like this&lt;br&gt;
&lt;br&gt;
text(0,1,'this is firstline \n this is second line')&lt;br&gt;
&lt;br&gt;
But this did not work (actually the linefeed \n seems not to work here).&lt;br&gt;
Maybe anyone has some idea how I can add multiple-line text (or&lt;br&gt;
textboxes) to my plot?&lt;br&gt;
I really appreciate any suggestions!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Many greetings from Finland!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sebastian</description>
    </item>
    <item>
      <pubDate>Mon, 23 Feb 2009 16:16:02 -0500</pubDate>
      <title>Re: text object with multiple lines</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/245139#630243</link>
      <author>Andres </author>
      <description>Sebastian Graeber &amp;lt;sebastian.graeber@stud.tu-ilmenau.de&amp;gt; wrote in message &amp;lt;gnu3bu$9dm$1@inn-newsserver.rz.tu-ilmenau.de&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I recently added text-objects to some plotted graph. Now I will have a&lt;br&gt;
&amp;gt; multiple-line text-object, but have no idea how to get this worked out ...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This is my one-line example:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; text(0,1,'Here is the text')&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
figure&lt;br&gt;
text(0,0.8,['this is firstline' char(10) 'this is second line'])&lt;br&gt;
text(0,0.4,{'this is firstline';'this is just another line'})&lt;br&gt;
&lt;br&gt;
See also the &quot;Multiline Text&quot; section in the text doc page.</description>
    </item>
  </channel>
</rss>

