<?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: Customizing axes part 3 &#8211; Backdrop	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-axes-part-3-backdrop</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 25 Aug 2016 15:27:30 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Karel Lebeda		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-386558</link>

		<dc:creator><![CDATA[Karel Lebeda]]></dc:creator>
		<pubDate>Thu, 25 Aug 2016 15:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-386558</guid>

					<description><![CDATA[In my opinion, the difference between creating the gradient using patch is the following:
- Patch uses the actual (Euclidean) distances for the interpolation. That&#039;s why there is the red &quot;spike&quot; going from the red vertex down and left, and why the diagonal intersection is red (closest to the red vertex).
- On the other hand, backdrop seems to be using something like barycentric coordinates, or like if it computed the gradient in the square coordinate space and then used homography to &quot;warp&quot; the image. That&#039;s why there&#039;s such a huge yellow area around the &quot;far away&quot; bottom vertex, which in barycentric coordinates would appear as close as any other, hence its neighbourhood is stretched. And the diagonal intersection naturally has the mean grey colour...

I didn&#039;t do a proper test, where I would do the interpolation &quot;manually&quot;, but I believe this is what is happening there...]]></description>
			<content:encoded><![CDATA[<p>In my opinion, the difference between creating the gradient using patch is the following:<br />
&#8211; Patch uses the actual (Euclidean) distances for the interpolation. That&#8217;s why there is the red &#8220;spike&#8221; going from the red vertex down and left, and why the diagonal intersection is red (closest to the red vertex).<br />
&#8211; On the other hand, backdrop seems to be using something like barycentric coordinates, or like if it computed the gradient in the square coordinate space and then used homography to &#8220;warp&#8221; the image. That&#8217;s why there&#8217;s such a huge yellow area around the &#8220;far away&#8221; bottom vertex, which in barycentric coordinates would appear as close as any other, hence its neighbourhood is stretched. And the diagonal intersection naturally has the mean grey colour&#8230;</p>
<p>I didn&#8217;t do a proper test, where I would do the interpolation &#8220;manually&#8221;, but I believe this is what is happening there&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-357544</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 23 Sep 2015 20:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-357544</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-357542&quot;&gt;Thurston Herricks&lt;/a&gt;.

@Thurston - I assume this is due to the slowdown in Matlab&#039;s new graphics system (&lt;a href=&quot;http://undocumentedmatlab.com/blog/hg2-update&quot; rel=&quot;nofollow&quot;&gt;HG2&lt;/a&gt;) in R2014b, for some graphic aspects. In your case, using patches probably implies use of the OpenGL renderer, which is a known performance hotspot. MathWorks &lt;a href=&quot;https://www.mathworks.com/matlabcentral/newsreader/view_thread/337755#937008&quot; rel=&quot;nofollow&quot;&gt;are actively working&lt;/a&gt; on improving HG2&#039;s performance, but it&#039;s not simple and so far (R2015b) they have not been successful in restoring Matlab graphics performance to HG1&#039;s levels. I suggest that you report this issue to MathWorks so that they could look into it and possibly fix it in a future release.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-357542">Thurston Herricks</a>.</p>
<p>@Thurston &#8211; I assume this is due to the slowdown in Matlab&#8217;s new graphics system (<a href="http://undocumentedmatlab.com/blog/hg2-update" rel="nofollow">HG2</a>) in R2014b, for some graphic aspects. In your case, using patches probably implies use of the OpenGL renderer, which is a known performance hotspot. MathWorks <a href="https://www.mathworks.com/matlabcentral/newsreader/view_thread/337755#937008" rel="nofollow">are actively working</a> on improving HG2&#8217;s performance, but it&#8217;s not simple and so far (R2015b) they have not been successful in restoring Matlab graphics performance to HG1&#8217;s levels. I suggest that you report this issue to MathWorks so that they could look into it and possibly fix it in a future release.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Thurston Herricks		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-357542</link>

		<dc:creator><![CDATA[Thurston Herricks]]></dc:creator>
		<pubDate>Wed, 23 Sep 2015 19:48:53 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-357542</guid>

					<description><![CDATA[Hello Dr. Altman,

I am trying generate a GUI that has a a few patches in it.  Even with relatively few patches with 600 faces I experience significant performance issues with the GUI when it redraws.  Could the difference in adding a backdrop verse using a patch be a performance issue?]]></description>
			<content:encoded><![CDATA[<p>Hello Dr. Altman,</p>
<p>I am trying generate a GUI that has a a few patches in it.  Even with relatively few patches with 600 faces I experience significant performance issues with the GUI when it redraws.  Could the difference in adding a backdrop verse using a patch be a performance issue?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Customizing axes part 4 – additional properties &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-335557</link>

		<dc:creator><![CDATA[Customizing axes part 4 – additional properties &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 29 Oct 2014 18:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-335557</guid>

					<description><![CDATA[[...] Customizing axes part 4 - additional properties [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Customizing axes part 4 &#8211; additional properties [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-335165</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 25 Oct 2014 20:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-335165</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-335045&quot;&gt;Michelle Hirsch&lt;/a&gt;.

@Michelle - Thanks for the correction. I guess this proves one of the important fallacies in any intelligence work, of connecting dots between seemingly-connected events that are in fact unrelated. It&#039;s a constant risk that I take with my speculation work on this blog, and hopefully I&#039;m not too far off most of the time. It&#039;s much safer not to speculate at all, but there&#039;s no fun in that :-)

In any case, perhaps your earlier work on your FEX utility back in 2010 led you (even if only on a subconscious level) to the need to add this functionality as an HG2 axes property. After all, you posted the utility as an answer to some user need, and I can definitely see this need arising in various forms over the years. Since in the back of your mind you already had the idea of a gradient backdrop, I can imagine that at some meeting where this came up you&#039;d say something along the lines of &quot;&lt;i&gt;why not add a &lt;b&gt;Backdrop&lt;/b&gt; property in the brand-new HG2 axes that we&#039;re now designing?&lt;/i&gt;&quot;. Pure speculation again, of course. But if I&#039;m right, then perhaps I wasn&#039;t too far off in connecting the dots here after all.

I know that I have often encountered problems in my work that I solved in a certain way, only to discover that I handled the same problem in the past in a very similar manner. So maybe I was influenced by some distant subconscious memory of my earlier solution, or maybe my mind is simply wired in such a way that I rediscover the same solution to the same problem.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-335045">Michelle Hirsch</a>.</p>
<p>@Michelle &#8211; Thanks for the correction. I guess this proves one of the important fallacies in any intelligence work, of connecting dots between seemingly-connected events that are in fact unrelated. It&#8217;s a constant risk that I take with my speculation work on this blog, and hopefully I&#8217;m not too far off most of the time. It&#8217;s much safer not to speculate at all, but there&#8217;s no fun in that 🙂</p>
<p>In any case, perhaps your earlier work on your FEX utility back in 2010 led you (even if only on a subconscious level) to the need to add this functionality as an HG2 axes property. After all, you posted the utility as an answer to some user need, and I can definitely see this need arising in various forms over the years. Since in the back of your mind you already had the idea of a gradient backdrop, I can imagine that at some meeting where this came up you&#8217;d say something along the lines of &#8220;<i>why not add a <b>Backdrop</b> property in the brand-new HG2 axes that we&#8217;re now designing?</i>&#8220;. Pure speculation again, of course. But if I&#8217;m right, then perhaps I wasn&#8217;t too far off in connecting the dots here after all.</p>
<p>I know that I have often encountered problems in my work that I solved in a certain way, only to discover that I handled the same problem in the past in a very similar manner. So maybe I was influenced by some distant subconscious memory of my earlier solution, or maybe my mind is simply wired in such a way that I rediscover the same solution to the same problem.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michelle Hirsch		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-axes-part-3-backdrop#comment-335045</link>

		<dc:creator><![CDATA[Michelle Hirsch]]></dc:creator>
		<pubDate>Fri, 24 Oct 2014 17:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5136#comment-335045</guid>

					<description><![CDATA[Thanks for the shout out, Yair! I wish I could say that there were lots of discussions about my file exchange submission, but I&#039;m pretty sure nobody else at MathWorks even knows about it :). I&#039;m also quite sure that I wasn&#039;t thinking about this property that you are writing about when I built it - I think I just felt like making something look a little fancy.]]></description>
			<content:encoded><![CDATA[<p>Thanks for the shout out, Yair! I wish I could say that there were lots of discussions about my file exchange submission, but I&#8217;m pretty sure nobody else at MathWorks even knows about it :). I&#8217;m also quite sure that I wasn&#8217;t thinking about this property that you are writing about when I built it &#8211; I think I just felt like making something look a little fancy.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
