<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265006</link>
    <title>MATLAB Central Newsreader - Handle Graphics: External Images</title>
    <description>Feed for thread: Handle Graphics: External Images</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>Wed, 04 Nov 2009 19:03:20 -0500</pubDate>
      <title>Handle Graphics: External Images</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265006#692159</link>
      <author>Rich </author>
      <description>I have read in an image (.bmp) using the IMREAD function. Is it possible for me to use this image when plotting using handle graphics. Below is just a snippet of some of the plotting code.&lt;br&gt;
&lt;br&gt;
phandle = plot([0],[0],'.k');&lt;br&gt;
axis([-19 19 -19 19])&lt;br&gt;
axis square&lt;br&gt;
axis off&lt;br&gt;
&lt;br&gt;
for j = 1:nsteps&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set(phandle,'XData',x(:,j),'YData',y(:,j))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;drawnow&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
in the phandle command (line 1 above) is it possible to select this uploaded image to represent the dot (modified black by the '.k'). I know I can change the color, size etc. of the dot used in the plot command, but is it possible to completely substitute an image. My attempts at it have only yielded the image occupying the entirety of my plot. Thank you for any suggestions.   </description>
    </item>
  </channel>
</rss>

