<?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: Borderless button used for plot properties	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=borderless-button-used-for-plot-properties</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 03 Sep 2015 12:42:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Mathieu G		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356379</link>

		<dc:creator><![CDATA[Mathieu G]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 12:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-356379</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356378&quot;&gt;Mathieu G&lt;/a&gt;.

Ok I found the solution. It is just because I didn&#039;t know the output function I discovered few seconds ago on another page of your wonderful website.

Thanks a lot for your work!

Another question if I can permit :
Is it possible to do button with round corner easily?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356378">Mathieu G</a>.</p>
<p>Ok I found the solution. It is just because I didn&#8217;t know the output function I discovered few seconds ago on another page of your wonderful website.</p>
<p>Thanks a lot for your work!</p>
<p>Another question if I can permit :<br />
Is it possible to do button with round corner easily?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathieu G		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356378</link>

		<dc:creator><![CDATA[Mathieu G]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 12:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-356378</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356058&quot;&gt;Yair Altman&lt;/a&gt;.

Hi Yair,
What do you mean by Visible? I am a beginner with Guide; for me, the create function and then the opening function of the figure are called by Matlab when I run the gui with the Command Window. I try to add my lines (&lt;code&gt;variable = findjobj(findobj(gcf, &#039;Tag&#039;, &#039;bouton11&#039;); variable.setFlyOverAppearance(true);&lt;/code&gt;) in these functions before your answer and also in the create function of the button but there is always this flicker.
I feel i am not far from the solution but I have no more ideas.

I thank you in advance.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356058">Yair Altman</a>.</p>
<p>Hi Yair,<br />
What do you mean by Visible? I am a beginner with Guide; for me, the create function and then the opening function of the figure are called by Matlab when I run the gui with the Command Window. I try to add my lines (<code>variable = findjobj(findobj(gcf, 'Tag', 'bouton11'); variable.setFlyOverAppearance(true);</code>) in these functions before your answer and also in the create function of the button but there is always this flicker.<br />
I feel i am not far from the solution but I have no more ideas.</p>
<p>I thank you in advance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356058</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 28 Aug 2015 17:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-356058</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356052&quot;&gt;Mathieu G&lt;/a&gt;.

@Mathieu - try to run findjobj after your figure is made visible if you wish to avoid the flicker]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356052">Mathieu G</a>.</p>
<p>@Mathieu &#8211; try to run findjobj after your figure is made visible if you wish to avoid the flicker</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathieu G		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-356052</link>

		<dc:creator><![CDATA[Mathieu G]]></dc:creator>
		<pubDate>Fri, 28 Aug 2015 14:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-356052</guid>

					<description><![CDATA[Hello!

Thanks for your post. It is very helpful!
I don&#039;t know the java language but I try to modify a button of my GUI (using GUIDE) to a borderless button. So I tried to use the setBorder function with [] to signify empty borders, but it is not working. I succeeded using the Fly Over Appearance in the create function of my button, like this:
&lt;pre lang=&#039;matlab&#039;&gt;
variable = findjobj(hObject);
variable.setFlyOverAppearance(true);
&lt;/pre&gt;
But when I open my GUI, this one opens, then is hidden by Matlab and re-appears after. It seems to be a double opening on the screen.
Do you know why?

Mathieu G.]]></description>
			<content:encoded><![CDATA[<p>Hello!</p>
<p>Thanks for your post. It is very helpful!<br />
I don&#8217;t know the java language but I try to modify a button of my GUI (using GUIDE) to a borderless button. So I tried to use the setBorder function with [] to signify empty borders, but it is not working. I succeeded using the Fly Over Appearance in the create function of my button, like this:</p>
<pre lang='matlab'>
variable = findjobj(hObject);
variable.setFlyOverAppearance(true);
</pre>
<p>But when I open my GUI, this one opens, then is hidden by Matlab and re-appears after. It seems to be a double opening on the screen.<br />
Do you know why?</p>
<p>Mathieu G.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Color selection components &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-284434</link>

		<dc:creator><![CDATA[Color selection components &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 16 Oct 2013 10:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-284434</guid>

					<description><![CDATA[[...] An example of such an integrated control can be found in the uisetlineprops utility on the File Exchange, which I introduced earlier this month in my article on using a borderless button for setting plot properties: [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] An example of such an integrated control can be found in the uisetlineprops utility on the File Exchange, which I introduced earlier this month in my article on using a borderless button for setting plot properties: [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-99657</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 29 Jul 2012 10:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-99657</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97823&quot;&gt;James Kapaldo&lt;/a&gt;.

@James - you can get the axes pixel positions via the properties described &lt;a href=&quot;http://www.mathworks.co.uk/help/techdoc/creating_plots/f1-32495.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. You should also take into consideration the &lt;b&gt;DataAspectRatio&lt;/b&gt; and related properties, described &lt;a href=&quot;http://www.mathworks.co.uk/help/techdoc/visualize/f4-48363.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. Remember to ensure that the axes uses pixel &lt;b&gt;Units&lt;/b&gt;, and also to take into account that the axes may possibly be a child of some figure container (e.g., &lt;i&gt;&lt;b&gt;uipanel&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;uitab&lt;/b&gt;&lt;/i&gt; etc.), which have their own pixel position vector. And yes - after you take all these into consideration the rest is just a simple affine transformation...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97823">James Kapaldo</a>.</p>
<p>@James &#8211; you can get the axes pixel positions via the properties described <a href="http://www.mathworks.co.uk/help/techdoc/creating_plots/f1-32495.html" rel="nofollow">here</a>. You should also take into consideration the <b>DataAspectRatio</b> and related properties, described <a href="http://www.mathworks.co.uk/help/techdoc/visualize/f4-48363.html" rel="nofollow">here</a>. Remember to ensure that the axes uses pixel <b>Units</b>, and also to take into account that the axes may possibly be a child of some figure container (e.g., <i><b>uipanel</b></i>, <i><b>uitab</b></i> etc.), which have their own pixel position vector. And yes &#8211; after you take all these into consideration the rest is just a simple affine transformation&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Kapaldo		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97823</link>

		<dc:creator><![CDATA[James Kapaldo]]></dc:creator>
		<pubDate>Mon, 23 Jul 2012 10:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-97823</guid>

					<description><![CDATA[Yes, that is what I was using. So, there is no hidden property or some easy way to get the figure pixel that corresponds to a point in a 3D axes? Or, more so, to get the pixel in the axes bounding box that corresponds to the 3d point? I think it should just be some affine transformation; however, I am unsure of where the axes bounding box lies in relation to the camera or the 3d axes. (I apologize for re-iterating the question; however, I saw that I never actually asked concisely in the previous post and want to be sure I was understood.)]]></description>
			<content:encoded><![CDATA[<p>Yes, that is what I was using. So, there is no hidden property or some easy way to get the figure pixel that corresponds to a point in a 3D axes? Or, more so, to get the pixel in the axes bounding box that corresponds to the 3d point? I think it should just be some affine transformation; however, I am unsure of where the axes bounding box lies in relation to the camera or the 3d axes. (I apologize for re-iterating the question; however, I saw that I never actually asked concisely in the previous post and want to be sure I was understood.)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97789</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 23 Jul 2012 05:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-97789</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97744&quot;&gt;James Kapaldo&lt;/a&gt;.

@James - I do not know any easy way to do it. You can place a &lt;a target=&quot;_blank&quot; href=&quot;http://undocumentedmatlab.com/blog/continuous-slider-callback/#Property_Listener&quot; rel=&quot;nofollow&quot;&gt;property listener&lt;/a&gt; on the aforementioned axes properties, such that whenever these properties change, the invoked callback will update the button position accordingly.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97744">James Kapaldo</a>.</p>
<p>@James &#8211; I do not know any easy way to do it. You can place a <a target="_blank" href="http://undocumentedmatlab.com/blog/continuous-slider-callback/#Property_Listener" rel="nofollow">property listener</a> on the aforementioned axes properties, such that whenever these properties change, the invoked callback will update the button position accordingly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Kapaldo		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-97744</link>

		<dc:creator><![CDATA[James Kapaldo]]></dc:creator>
		<pubDate>Mon, 23 Jul 2012 00:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-97744</guid>

					<description><![CDATA[Is there a way to do this same thing, nicely, for a 3D plot. What I want is one button on either end of the xAxis, such that when you press one of the buttons the xAxis limits change. (This would be one solution for zooming 3d graphs in the x-axis direction; since, the normal zoom function does not have proper properties for use in GUIs.)
Placing the buttons so that they stay in the correct position when rotating the 3D axis seems to be problematic, however. I have been trying to use viewmtx or the hidden properties such as x_ViewTransform in conjugation with the dsxy2figxy from the FEX, but the buttons still do not appear in the correct locations.]]></description>
			<content:encoded><![CDATA[<p>Is there a way to do this same thing, nicely, for a 3D plot. What I want is one button on either end of the xAxis, such that when you press one of the buttons the xAxis limits change. (This would be one solution for zooming 3d graphs in the x-axis direction; since, the normal zoom function does not have proper properties for use in GUIs.)<br />
Placing the buttons so that they stay in the correct position when rotating the 3D axis seems to be problematic, however. I have been trying to use viewmtx or the hidden properties such as x_ViewTransform in conjugation with the dsxy2figxy from the FEX, but the buttons still do not appear in the correct locations.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-48741</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 19 Jun 2011 10:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2307#comment-48741</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-48568&quot;&gt;Joel&lt;/a&gt;.

@Joel - customization of uicontrol buttons, including the issue of changing or removing the border, was discussed &lt;a href=&quot;http://undocumentedmatlab.com/blog/button-customization/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/borderless-button-used-for-plot-properties#comment-48568">Joel</a>.</p>
<p>@Joel &#8211; customization of uicontrol buttons, including the issue of changing or removing the border, was discussed <a href="http://undocumentedmatlab.com/blog/button-customization/" target="_blank" rel="nofollow">here</a>.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
