<?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: Accessing hidden HG2 plot functionality	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hidden-hg2-plot-functionality</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 14 Aug 2020 03:23:03 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Reza		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-508819</link>

		<dc:creator><![CDATA[Reza]]></dc:creator>
		<pubDate>Fri, 14 Aug 2020 03:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-508819</guid>

					<description><![CDATA[Yair, I found the solution by using &quot;hFills(i).StripData&quot;. Thanks]]></description>
			<content:encoded><![CDATA[<p>Yair, I found the solution by using &#8220;hFills(i).StripData&#8221;. Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Reza		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-508818</link>

		<dc:creator><![CDATA[Reza]]></dc:creator>
		<pubDate>Fri, 14 Aug 2020 00:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-508818</guid>

					<description><![CDATA[Hi Yair,
There is &quot;VertexData&quot; in property of &quot;TriangleStrip .FacePrims&quot;, but there is no information about patch &quot;faces&quot; that can connect vertices to each other.
Is there any way to use from VertexData and extract border or relationship between triangles of one region?]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
There is &#8220;VertexData&#8221; in property of &#8220;TriangleStrip .FacePrims&#8221;, but there is no information about patch &#8220;faces&#8221; that can connect vertices to each other.<br />
Is there any way to use from VertexData and extract border or relationship between triangles of one region?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Given Lee		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-492161</link>

		<dc:creator><![CDATA[Given Lee]]></dc:creator>
		<pubDate>Mon, 19 Aug 2019 03:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-492161</guid>

					<description><![CDATA[Hi,I programed callbacks for brush mode operations below,which I wanted to access the point I brushed. However,it don&#039;t work. Can you tell me where I am wrong? Thanks!

&lt;pre lang=&quot;matlab&quot;&gt;
t=0:0.2:25; 
plot(t,sin(t),&#039;.-&#039;);
h=brush;
set(h,&#039;Enable&#039;,&#039;on&#039;,&#039;ActionPostCallback&#039;,@displaybrushdata);

function displaybrushdata(src,~)
   brushedIdx = logical(src.BrushData);
   brushedXData = src.XData(brushedIdx);
   brushedYData = src.YData(brushedIdx);
   disp(&#039;ok&#039;);
end
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Hi,I programed callbacks for brush mode operations below,which I wanted to access the point I brushed. However,it don&#8217;t work. Can you tell me where I am wrong? Thanks!</p>
<pre lang="matlab">
t=0:0.2:25; 
plot(t,sin(t),'.-');
h=brush;
set(h,'Enable','on','ActionPostCallback',@displaybrushdata);

function displaybrushdata(src,~)
   brushedIdx = logical(src.BrushData);
   brushedXData = src.XData(brushedIdx);
   brushedYData = src.YData(brushedIdx);
   disp('ok');
end
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-470149</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 25 Mar 2019 08:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-470149</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-345364&quot;&gt;Dan&lt;/a&gt;.

Here&#039;s another usage example of using the bars&#039; undocumented &lt;b&gt;XOffset&lt;/b&gt; property to get the bar centers for the benefit of the &lt;b&gt;&lt;i&gt;errorbar&lt;/i&gt;&lt;/b&gt; function: https://www.mathworks.com/matlabcentral/answers/451794-adding-standard-error-bars-to-grouped-bar-graph]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-345364">Dan</a>.</p>
<p>Here&#8217;s another usage example of using the bars&#8217; undocumented <b>XOffset</b> property to get the bar centers for the benefit of the <b><i>errorbar</i></b> function: <a href="https://www.mathworks.com/matlabcentral/answers/451794-adding-standard-error-bars-to-grouped-bar-graph" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/answers/451794-adding-standard-error-bars-to-grouped-bar-graph</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-391500</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 24 Oct 2016 17:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-391500</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-391470&quot;&gt;Christoph Feenders&lt;/a&gt;.

Thanks for the update, Christoph]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-391470">Christoph Feenders</a>.</p>
<p>Thanks for the update, Christoph</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph Feenders		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-391470</link>

		<dc:creator><![CDATA[Christoph Feenders]]></dc:creator>
		<pubDate>Mon, 24 Oct 2016 12:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-391470</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378644&quot;&gt;Christoph Feenders&lt;/a&gt;.

update: the issue is fixed in R2016b. The position of flags in h.BrushData now corresponds to data-points in h.XData and h.YData (irrespective of data-point visibility due to log-scaling)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378644">Christoph Feenders</a>.</p>
<p>update: the issue is fixed in R2016b. The position of flags in h.BrushData now corresponds to data-points in h.XData and h.YData (irrespective of data-point visibility due to log-scaling)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph Feenders		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378644</link>

		<dc:creator><![CDATA[Christoph Feenders]]></dc:creator>
		<pubDate>Tue, 31 May 2016 17:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-378644</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378167&quot;&gt;Yair Altman&lt;/a&gt;.

update: MathWorks confirmed that the observed behaviour is indeed a bug affecting MATLAB R2014b through MATLAB R2016a (Technical Support Case #01981712). Their developers are working on fixing this issue.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378167">Yair Altman</a>.</p>
<p>update: MathWorks confirmed that the observed behaviour is indeed a bug affecting MATLAB R2014b through MATLAB R2016a (Technical Support Case #01981712). Their developers are working on fixing this issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378167</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 27 May 2016 12:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-378167</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378166&quot;&gt;Christoph Feenders&lt;/a&gt;.

@Christoph - excellent: this means that you can report this to MathWorks as an official bug. If and when you ever learn anything new about this, then please update with a new comment here.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378166">Christoph Feenders</a>.</p>
<p>@Christoph &#8211; excellent: this means that you can report this to MathWorks as an official bug. If and when you ever learn anything new about this, then please update with a new comment here.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph Feenders		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-378166</link>

		<dc:creator><![CDATA[Christoph Feenders]]></dc:creator>
		<pubDate>Fri, 27 May 2016 12:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-378166</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-377928&quot;&gt;Yair Altman&lt;/a&gt;.

@Yair - I found that the bug also affects the &quot;official way&quot;: brushing data and selecting Tools-&#062;Brushing-&#062;Create new variable... also gives the wrong result.
One can also observe it visually in my example above, when switching between linear and logarithmic scaling: the brushed points change!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-377928">Yair Altman</a>.</p>
<p>@Yair &#8211; I found that the bug also affects the &#8220;official way&#8221;: brushing data and selecting Tools-&gt;Brushing-&gt;Create new variable&#8230; also gives the wrong result.<br />
One can also observe it visually in my example above, when switching between linear and logarithmic scaling: the brushed points change!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-377928</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 25 May 2016 15:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5563#comment-377928</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-377780&quot;&gt;Christoph Feenders&lt;/a&gt;.

@Christoph - I believe that this is due to an internal Matlab bug. You can try to report this to MathWorks but don&#039;t be too hopeful, since this functionality is undocumented/unsupported after all...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/hidden-hg2-plot-functionality#comment-377780">Christoph Feenders</a>.</p>
<p>@Christoph &#8211; I believe that this is due to an internal Matlab bug. You can try to report this to MathWorks but don&#8217;t be too hopeful, since this functionality is undocumented/unsupported after all&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
