<?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: Undocumented cursorbar object	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=undocumented-cursorbar-object</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 02 Nov 2016 20:38:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yaroslav		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-392272</link>

		<dc:creator><![CDATA[Yaroslav]]></dc:creator>
		<pubDate>Wed, 02 Nov 2016 20:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-392272</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-388748&quot;&gt;micpro&lt;/a&gt;.

Use the &lt;code&gt;Location&lt;/code&gt; or the &lt;code&gt;Position&lt;/code&gt; properties. For example,&lt;pre lang=&quot;matlab&quot;&gt;% set the plot
t     = 0:.01:7; 
hPlot = plot(t,sin(t));
% draw the cursorbars
if verLessThan(&#039;matlab&#039;,&#039;8.4.0&#039;) % HG1 version
    hCursorbar1 = graphics.cursorbar(hPlot);
    hCursorbar2 = graphics.cursorbar(hPlot);
else % HG2 version, latest version on FEX
    hCursorbar1 = cursorbar(hPlot);
    hCursorbar2 = cursorbar(hPlot);
end
% now, set the locations
hCursorbar1.Location = 2; 
hCursorbar2.Location = 4; 
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-388748">micpro</a>.</p>
<p>Use the <code>Location</code> or the <code>Position</code> properties. For example,</p>
<pre lang="matlab">% set the plot
t     = 0:.01:7; 
hPlot = plot(t,sin(t));
% draw the cursorbars
if verLessThan('matlab','8.4.0') % HG1 version
    hCursorbar1 = graphics.cursorbar(hPlot);
    hCursorbar2 = graphics.cursorbar(hPlot);
else % HG2 version, latest version on FEX
    hCursorbar1 = cursorbar(hPlot);
    hCursorbar2 = cursorbar(hPlot);
end
% now, set the locations
hCursorbar1.Location = 2; 
hCursorbar2.Location = 4; 
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MacDonald Smith		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-392250</link>

		<dc:creator><![CDATA[MacDonald Smith]]></dc:creator>
		<pubDate>Wed, 02 Nov 2016 16:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-392250</guid>

					<description><![CDATA[Yair,

I was trolling around on this section a few weeks ago and I thought I saw a link to the File Exchange for a function that plotted multiple cursor bars on a Magnitude/Power Spectrum that indicated a fundamental plus several harmonics. I cannot find this link anymore. Do you recall where this link might be or what the name of the function might be?]]></description>
			<content:encoded><![CDATA[<p>Yair,</p>
<p>I was trolling around on this section a few weeks ago and I thought I saw a link to the File Exchange for a function that plotted multiple cursor bars on a Magnitude/Power Spectrum that indicated a fundamental plus several harmonics. I cannot find this link anymore. Do you recall where this link might be or what the name of the function might be?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: micpro		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-388748</link>

		<dc:creator><![CDATA[micpro]]></dc:creator>
		<pubDate>Mon, 19 Sep 2016 12:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-388748</guid>

					<description><![CDATA[Hi,
Thanks for sharing,
How can I change default position of cursuor? I need to 2 cursor bars and I want to see them seperately,
thanks]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
Thanks for sharing,<br />
How can I change default position of cursuor? I need to 2 cursor bars and I want to see them seperately,<br />
thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michelle Hirsch		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-345555</link>

		<dc:creator><![CDATA[Michelle Hirsch]]></dc:creator>
		<pubDate>Fri, 13 Feb 2015 18:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-345555</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-344617&quot;&gt;Yaroslav&lt;/a&gt;.

With a gigantic thanks to Yaroslav, we now have an updated for R2014b version of cursorbar posted on the File Exchange: &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/49612-cursorbar&quot; rel=&quot;nofollow&quot;&gt;cursorbar&lt;/a&gt;. I believe it&#039;s a straight drop-in replacement that should support code written against the undocumented cursorbar from previous releases.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-344617">Yaroslav</a>.</p>
<p>With a gigantic thanks to Yaroslav, we now have an updated for R2014b version of cursorbar posted on the File Exchange: <a href="http://www.mathworks.com/matlabcentral/fileexchange/49612-cursorbar" rel="nofollow">cursorbar</a>. I believe it&#8217;s a straight drop-in replacement that should support code written against the undocumented cursorbar from previous releases.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yaroslav		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-344617</link>

		<dc:creator><![CDATA[Yaroslav]]></dc:creator>
		<pubDate>Thu, 22 Jan 2015 20:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-344617</guid>

					<description><![CDATA[@Yair,

I have also encountered the same issue as @Dan --- Being a very useful feature, some of my files rely heavily on &lt;code&gt;graphics.cursorbar&lt;/code&gt;. Unfortunately, after TMW had decided to remove it, my programs ceased to work at all. Therefore, I needed &lt;i&gt;a fast, reliable and indistinguishable&lt;/i&gt; solution (the last requirement is important: I didn&#039;t want to modify large chunks of code).

Simiarly to @Dan, I also couldn&#039;t find an adequate solution; thus, I decided to take the mission on myself. Taking all the old files in &lt;code&gt;+graphics/@cursorbar&lt;/code&gt;, I modified them so that they work with HG2. Mainly, I merged &lt;code&gt;schema&lt;/code&gt; and &lt;code&gt;cursorbar&lt;/code&gt; to a single file built in Matlab&#039;s new class system, and made a few minor changes to all other files. Since it is basically the same ol&#039; code, it works like a charm; almost no changes were required to my programs, and I feel it is even faster than the old &lt;code&gt;cursorbar&lt;/code&gt;.

Now I have a dilemma: I want to publish my solution on the File Exchange, but most of the code and the entire logical structure is still TMW&#039;s. Since I wish to avoid plagiarism and copyright issues, it creates quite a nuisance. How do you suggest to proceed?]]></description>
			<content:encoded><![CDATA[<p>@Yair,</p>
<p>I have also encountered the same issue as @Dan &#8212; Being a very useful feature, some of my files rely heavily on <code>graphics.cursorbar</code>. Unfortunately, after TMW had decided to remove it, my programs ceased to work at all. Therefore, I needed <i>a fast, reliable and indistinguishable</i> solution (the last requirement is important: I didn&#8217;t want to modify large chunks of code).</p>
<p>Simiarly to @Dan, I also couldn&#8217;t find an adequate solution; thus, I decided to take the mission on myself. Taking all the old files in <code>+graphics/@cursorbar</code>, I modified them so that they work with HG2. Mainly, I merged <code>schema</code> and <code>cursorbar</code> to a single file built in Matlab&#8217;s new class system, and made a few minor changes to all other files. Since it is basically the same ol&#8217; code, it works like a charm; almost no changes were required to my programs, and I feel it is even faster than the old <code>cursorbar</code>.</p>
<p>Now I have a dilemma: I want to publish my solution on the File Exchange, but most of the code and the entire logical structure is still TMW&#8217;s. Since I wish to avoid plagiarism and copyright issues, it creates quite a nuisance. How do you suggest to proceed?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334743</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Tue, 21 Oct 2014 16:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-334743</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334720&quot;&gt;Dan&lt;/a&gt;.

Thanks, I will check it out!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334720">Dan</a>.</p>
<p>Thanks, I will check it out!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334737</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 21 Oct 2014 15:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-334737</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334720&quot;&gt;Dan&lt;/a&gt;.

@Dan - try Michelle Hirsch&#039;s &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/2875-dualcursor&quot; rel=&quot;nofollow&quot;&gt;&lt;i&gt;&lt;b&gt;dualcursor&lt;/b&gt;&lt;/i&gt;&lt;/a&gt; utility. She&#039;s the Matlab product manager at MathWorks, by the way.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334720">Dan</a>.</p>
<p>@Dan &#8211; try Michelle Hirsch&#8217;s <a href="http://www.mathworks.com/matlabcentral/fileexchange/2875-dualcursor" rel="nofollow"><i><b>dualcursor</b></i></a> utility. She&#8217;s the Matlab product manager at MathWorks, by the way.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-334720</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Tue, 21 Oct 2014 11:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-334720</guid>

					<description><![CDATA[Hello Yair, i&#039;ve been using this feature for a while now, thanks again for pointing it out.
I think this feature has eventually been removed with the 2014b release (At least i can not find it anymore). Do you know anything that is on par, as a replacement?]]></description>
			<content:encoded><![CDATA[<p>Hello Yair, i&#8217;ve been using this feature for a while now, thanks again for pointing it out.<br />
I think this feature has eventually been removed with the 2014b release (At least i can not find it anymore). Do you know anything that is on par, as a replacement?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christoph		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-332989</link>

		<dc:creator><![CDATA[Christoph]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 09:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-332989</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-331163&quot;&gt;Christoph&lt;/a&gt;.

Hi Yair,

nevermind - I finally did it. 
As I mentioned before, linkprop does not show the desired behaviour.
I added a listener via &quot;handle.listener&quot; function on the position property to call the update-function for all involved cursorbar handles and it works fine. A bit slow in case of many cursorbars but it is OK.

So there was no need to copy or edit any matlab-files.

Thank you
Christoph]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-331163">Christoph</a>.</p>
<p>Hi Yair,</p>
<p>nevermind &#8211; I finally did it.<br />
As I mentioned before, linkprop does not show the desired behaviour.<br />
I added a listener via &#8220;handle.listener&#8221; function on the position property to call the update-function for all involved cursorbar handles and it works fine. A bit slow in case of many cursorbars but it is OK.</p>
<p>So there was no need to copy or edit any matlab-files.</p>
<p>Thank you<br />
Christoph</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-332895</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 30 Sep 2014 13:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=1903#comment-332895</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-332894&quot;&gt;Christoph&lt;/a&gt;.

You can place a modified copy of the file(s) in your own user path, where it takes precedence over the built-in path. To synchronize different cursorbars, you can use the &lt;i&gt;&lt;b&gt;linkprop&lt;/b&gt;&lt;/i&gt; function.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-cursorbar-object#comment-332894">Christoph</a>.</p>
<p>You can place a modified copy of the file(s) in your own user path, where it takes precedence over the built-in path. To synchronize different cursorbars, you can use the <i><b>linkprop</b></i> function.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
