<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MATLAB Basics: Setting a background image for a GUI</title>
	<atom:link href="http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/</link>
	<description>Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.</description>
	<lastBuildDate>Fri, 10 Feb 2012 20:31:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2077</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Fri, 28 May 2010 15:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2077</guid>
		<description>@Yonatan,

I think I would need to see the code.  Please send via e-mail.

Doug</description>
		<content:encoded><![CDATA[<p>@Yonatan,</p>
<p>I think I would need to see the code.  Please send via e-mail.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yonatan</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2076</link>
		<dc:creator>Yonatan</dc:creator>
		<pubDate>Thu, 27 May 2010 20:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2076</guid>
		<description>Hello Doug,

I was able to set a background image with the images which are 
already in the \toolbox\images\imdemos\ but when I tried to create my own image and saved it there I got errors and X/Y plot displayed. Do you know what seems to be the problem?
 
thanks</description>
		<content:encoded><![CDATA[<p>Hello Doug,</p>
<p>I was able to set a background image with the images which are<br />
already in the \toolbox\images\imdemos\ but when I tried to create my own image and saved it there I got errors and X/Y plot displayed. Do you know what seems to be the problem?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2016</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Tue, 20 Apr 2010 17:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2016</guid>
		<description>@Mark,

&lt;pre class=&quot;code&quot;&gt;

h = imshow(magic(500))
set(h,&#039;alphaData&#039;,round(rand(500)))
set(h,&#039;alphaDataMapping&#039;,&#039;none&#039;)

&lt;/pre&gt;

Take a look at this example.

Doug</description>
		<content:encoded><![CDATA[<p>@Mark,</p>
<pre class="code">

h = imshow(magic(500))
set(h,'alphaData',round(rand(500)))
set(h,'alphaDataMapping','none')
</pre>
<p>Take a look at this example.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2013</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Mon, 19 Apr 2010 11:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-2013</guid>
		<description>Hello Doug,

I have displayed an image in my gui program using your tutorial above. “imshow” method. The image has a white background. Is there a way to make the image transparent?  Many Thanks</description>
		<content:encoded><![CDATA[<p>Hello Doug,</p>
<p>I have displayed an image in my gui program using your tutorial above. “imshow” method. The image has a white background. Is there a way to make the image transparent?  Many Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1988</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Mon, 05 Apr 2010 20:16:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1988</guid>
		<description>@Mark,

I need more information to really diagnose this.

contact http://www.mathworks.com/support

Thanks
Doug</description>
		<content:encoded><![CDATA[<p>@Mark,</p>
<p>I need more information to really diagnose this.</p>
<p>contact <a href="http://www.mathworks.com/support" rel="nofollow">http://www.mathworks.com/support</a></p>
<p>Thanks<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1987</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 05 Apr 2010 16:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1987</guid>
		<description>Hello Doug,
I&#039;m using MATLAB Version 7.8 (R2009a). My laptop is intel Core2 Duo, CPU T6400 @ 2.00GHz. 3.0GB RAM and 200GB hard drive with NVIDIA graphic card. My pc spec surpasses the recommended system requirement for running matlab 2009a. But why is working in gui so slow. Even if I’m running matlab alone with no other application, working in gui is still slow. Please is there anything i can do to enhance the performance. Many thanks</description>
		<content:encoded><![CDATA[<p>Hello Doug,<br />
I&#8217;m using MATLAB Version 7.8 (R2009a). My laptop is intel Core2 Duo, CPU T6400 @ 2.00GHz. 3.0GB RAM and 200GB hard drive with NVIDIA graphic card. My pc spec surpasses the recommended system requirement for running matlab 2009a. But why is working in gui so slow. Even if I’m running matlab alone with no other application, working in gui is still slow. Please is there anything i can do to enhance the performance. Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1970</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 24 Mar 2010 20:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1970</guid>
		<description>Many Thanks Doug,
I have been able to do it now. Thanks for your idea. Many thanks</description>
		<content:encoded><![CDATA[<p>Many Thanks Doug,<br />
I have been able to do it now. Thanks for your idea. Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhull</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1969</link>
		<dc:creator>dhull</dc:creator>
		<pubDate>Wed, 24 Mar 2010 20:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1969</guid>
		<description>@mark,

This is a little involved for blog comments... :)

please contact http://www.mathworks.com/support

Doug</description>
		<content:encoded><![CDATA[<p>@mark,</p>
<p>This is a little involved for blog comments&#8230; :)</p>
<p>please contact <a href="http://www.mathworks.com/support" rel="nofollow">http://www.mathworks.com/support</a></p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1968</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 24 Mar 2010 19:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1968</guid>
		<description>sorry for using pushbutton1 in the error message (for the above question), it was meant to be pushbutton36</description>
		<content:encoded><![CDATA[<p>sorry for using pushbutton1 in the error message (for the above question), it was meant to be pushbutton36</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1967</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 24 Mar 2010 19:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/videos/2007/10/16/matlab-basics-setting-a-background-image-for-a-gui/#comment-1967</guid>
		<description>Thanks Doug, for the reply. I used the codes below to make duplicated plot at the command window.

n = 100;
x = rand(n,1);
y = rand(n,1);
h1 = plot(x,y,&#039;o&#039;);

h1=gcf;
h2=figure;
objects=allchild(h1);
copyobj(get(h1,&#039;children&#039;),h2);

But how can i use this in gui. I want to put it under a pushbutton callback. i want it to double plot the plot on axes1. But anytime i run it, i get this error saying...

??? Undefined function or variable &#039;axes1&#039;.

Error in ==&gt; program&gt;pushbutton1_Callback at 106
h1=axes1;

here is my code

function pushbutton36_Callback(hObject, eventdata, handles)
n = 100;
x = rand(n,1);
y = rand(n,1);
axes(handles.axes1)
h1 = plot(x,y,&#039;o&#039;);

h1=axes1;
h2=figure;
objects=allchild(h1);
copyobj(get(h1,&#039;children&#039;),h2);</description>
		<content:encoded><![CDATA[<p>Thanks Doug, for the reply. I used the codes below to make duplicated plot at the command window.</p>
<p>n = 100;<br />
x = rand(n,1);<br />
y = rand(n,1);<br />
h1 = plot(x,y,&#8217;o');</p>
<p>h1=gcf;<br />
h2=figure;<br />
objects=allchild(h1);<br />
copyobj(get(h1,&#8217;children&#8217;),h2);</p>
<p>But how can i use this in gui. I want to put it under a pushbutton callback. i want it to double plot the plot on axes1. But anytime i run it, i get this error saying&#8230;</p>
<p>??? Undefined function or variable &#8216;axes1&#8242;.</p>
<p>Error in ==&gt; program&gt;pushbutton1_Callback at 106<br />
h1=axes1;</p>
<p>here is my code</p>
<p>function pushbutton36_Callback(hObject, eventdata, handles)<br />
n = 100;<br />
x = rand(n,1);<br />
y = rand(n,1);<br />
axes(handles.axes1)<br />
h1 = plot(x,y,&#8217;o');</p>
<p>h1=axes1;<br />
h2=figure;<br />
objects=allchild(h1);<br />
copyobj(get(h1,&#8217;children&#8217;),h2);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

