<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158604</link>
    <title>MATLAB Central Newsreader - Arrow in plots</title>
    <description>Feed for thread: Arrow in plots</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>Thu, 01 Nov 2007 01:03:35 -0400</pubDate>
      <title>Arrow in plots</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158604#399302</link>
      <author>Paul </author>
      <description>Has anybody used 'arrow' successfully?&lt;br&gt;
&lt;br&gt;
Try:&lt;br&gt;
&lt;br&gt;
figure&lt;br&gt;
plot(1:10)&lt;br&gt;
arrow([4 0],[4 4])&lt;br&gt;
&lt;br&gt;
this should draw an arrow from the x-axis to the straight&lt;br&gt;
line.  But all I get is an error: &lt;br&gt;
&lt;br&gt;
??? Error using ==&amp;gt; and&lt;br&gt;
NaN's cannot be converted to logicals.&lt;br&gt;
&lt;br&gt;
Error in ==&amp;gt; arrow at 731&lt;br&gt;
page = (~isnan(page))&amp;(page);</description>
    </item>
    <item>
      <pubDate>Thu, 01 Nov 2007 09:02:48 -0400</pubDate>
      <title>Re: Arrow in plots</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158604#399359</link>
      <author>TorH </author>
      <description>Your code works fine for me (Matlab version 7.0 R14).&lt;br&gt;
&lt;br&gt;
You may try:&lt;br&gt;
&lt;br&gt;
annotation('arrow',[.39 .39],[.11 .39])&lt;br&gt;
&amp;nbsp;&lt;br&gt;
but then the xy-coordinates have to be specified in the&lt;br&gt;
[0,1] space of the figure. To overcome this, check out&lt;br&gt;
ds2nfu.m by Scott Hirsch on the file exchange.&lt;br&gt;
&lt;br&gt;
TorH&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Paul &quot; &amp;lt;par@ceri.memphis.edu&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fgb8l7$f1m$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Has anybody used 'arrow' successfully?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Try:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; figure&lt;br&gt;
&amp;gt; plot(1:10)&lt;br&gt;
&amp;gt; arrow([4 0],[4 4])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; this should draw an arrow from the x-axis to the straight&lt;br&gt;
&amp;gt; line.  But all I get is an error: &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; and&lt;br&gt;
&amp;gt; NaN's cannot be converted to logicals.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Error in ==&amp;gt; arrow at 731&lt;br&gt;
&amp;gt; page = (~isnan(page))&amp;(page);</description>
    </item>
    <item>
      <pubDate>Thu, 01 Nov 2007 09:03:02 -0400</pubDate>
      <title>Re: Arrow in plots</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/158604#399360</link>
      <author>TorH </author>
      <description>Your code works fine for me (Matlab version 7.0 R14).&lt;br&gt;
&lt;br&gt;
You may try:&lt;br&gt;
&lt;br&gt;
annotation('arrow',[.39 .39],[.11 .39])&lt;br&gt;
&amp;nbsp;&lt;br&gt;
but then the xy-coordinates have to be specified in the&lt;br&gt;
[0,1] space of the figure. To overcome this, check out&lt;br&gt;
ds2nfu.m by Scott Hirsch on the file exchange.&lt;br&gt;
&lt;br&gt;
TorH&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Paul &quot; &amp;lt;par@ceri.memphis.edu&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fgb8l7$f1m$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Has anybody used 'arrow' successfully?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Try:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; figure&lt;br&gt;
&amp;gt; plot(1:10)&lt;br&gt;
&amp;gt; arrow([4 0],[4 4])&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; this should draw an arrow from the x-axis to the straight&lt;br&gt;
&amp;gt; line.  But all I get is an error: &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; and&lt;br&gt;
&amp;gt; NaN's cannot be converted to logicals.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Error in ==&amp;gt; arrow at 731&lt;br&gt;
&amp;gt; page = (~isnan(page))&amp;(page);</description>
    </item>
  </channel>
</rss>

