<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BlinkDagger &#8211; Undocumented Matlab</title>
	<atom:link href="https://undocumentedmatlab.com/articles/tag/blinkdagger/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 08 Jul 2009 22:03:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>BlinkDagger &#8211; the end?</title>
		<link>https://undocumentedmatlab.com/articles/blinkdagger-the-end?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blinkdagger-the-end</link>
					<comments>https://undocumentedmatlab.com/articles/blinkdagger-the-end#comments</comments>
		
		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 08 Jul 2009 22:03:49 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BlinkDagger]]></category>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=446</guid>

					<description><![CDATA[<p>In his latest post on BlinkDagger, Quan Quach announced that the BlinkDagger blog will be frozen following co-author Daniel Sutoyo&#8217;s hiring by The MathWorks and the continuous strain of maintaining the blog single-handedly. This is sad news indeed for the Matlab user community. Over the past few years, BlinkDagger has become the largest independent Matlab-related [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/blinkdagger-the-end">BlinkDagger &#8211; the end?</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/2011-perspective" rel="bookmark" title="2011 perspective &amp; plans for 2012">2011 perspective &amp; plans for 2012 </a> <small>2011 has seen a continued steady growth in readership of this website. This post takes an overview of past achievements and future plans. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips" rel="bookmark" title="Spicing up Matlab uicontrol tooltips">Spicing up Matlab uicontrol tooltips </a> <small>Matlab uicontrol tooltips can be spiced-up using HTML and CSS, including fonts, colors, tables and images...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/hiring-matlab-programmer-tel-aviv" rel="bookmark" title="I am hiring a Matlab programmer (Tel Aviv)">I am hiring a Matlab programmer (Tel Aviv) </a> <small>I am hiring a Matlab programmer in the Tel Aviv area...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/2014-perspective" rel="bookmark" title="2014 perspective &amp; plans for 2015">2014 perspective &amp; plans for 2015 </a> <small>2014 has seen a continued steady growth in website content and readership. This post takes an overview of past achievements and future plans. ...</small></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<p>In his <a target="_blank" rel="nofollow" href="http://blinkdagger.com/matlab/the-end-of-blinkdagger-possibly">latest post on BlinkDagger</a>, Quan Quach announced that the BlinkDagger blog will be frozen following co-author Daniel Sutoyo&#8217;s hiring by The MathWorks and the continuous strain of maintaining the blog single-handedly.<br />
This is sad news indeed for the Matlab user community. Over the past few years, BlinkDagger has become the largest independent Matlab-related blog (at least that I know of), with some 150 well-written tutorials on a very wide variety of Matlab-related topics. In fact, I believe that only <a target="_blank" rel="nofollow" href="http://blogs.mathworks.com/">the official Matlab blogs</a> and <a target="_blank" rel="nofollow" href="https://www.mathworks.com/matlabcentral/newsreader/">the Matlab CSSM forum</a> contain more Matlab content. Although there are reportedly over a million Matlab users worldwide, there is precious little independent online Matlab content. Perhaps the need is answered by CSSM and the official blogs, and perhaps the reason is other. In any case, BlinkDagger&#8217;s retirement will be well-felt.<br />
As a novice (4-month) blogger I can well appreciate the effort it took Quan and Daniel to write so much well-crafted content, follow-up on numerous comments and continuously think of interesting article ideas. The fact they have succeeded in doing so consistently for so long, without noticeable quality degradation, is remarkable. So, while regretting their action, I can certainly understand it. I truly wish both Quan and Daniel the best of luck in their new adventures, and send them an enormous hug of gratitude for their services to the Matlab community.<br />
Don&#8217;t be lazy &#8211; be a sport &#8211; visit <a target="_blank" rel="nofollow" href="http://blinkdagger.com/matlab/the-end-of-blinkdagger-possibly">the BlinkDagger link</a> and tell Quan and Daniel that you too appreciate their efforts. Let them leave the stage with a standing ovation rather than a whimper. They deserve it.<br />
Yair Altman</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/blinkdagger-the-end">BlinkDagger &#8211; the end?</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/2011-perspective" rel="bookmark" title="2011 perspective &amp; plans for 2012">2011 perspective &amp; plans for 2012 </a> <small>2011 has seen a continued steady growth in readership of this website. This post takes an overview of past achievements and future plans. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips" rel="bookmark" title="Spicing up Matlab uicontrol tooltips">Spicing up Matlab uicontrol tooltips </a> <small>Matlab uicontrol tooltips can be spiced-up using HTML and CSS, including fonts, colors, tables and images...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/hiring-matlab-programmer-tel-aviv" rel="bookmark" title="I am hiring a Matlab programmer (Tel Aviv)">I am hiring a Matlab programmer (Tel Aviv) </a> <small>I am hiring a Matlab programmer in the Tel Aviv area...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/2014-perspective" rel="bookmark" title="2014 perspective &amp; plans for 2015">2014 perspective &amp; plans for 2015 </a> <small>2014 has seen a continued steady growth in website content and readership. This post takes an overview of past achievements and future plans. ...</small></li>
</ol>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://undocumentedmatlab.com/articles/blinkdagger-the-end/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Spicing up Matlab uicontrol tooltips</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spicing-up-matlab-uicontrol-tooltips</link>
					<comments>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comments</comments>
		
		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 27 May 2009 19:15:31 +0000</pubDate>
				<category><![CDATA[GUI]]></category>
		<category><![CDATA[Low risk of breaking in future versions]]></category>
		<category><![CDATA[UI controls]]></category>
		<category><![CDATA[Undocumented feature]]></category>
		<category><![CDATA[BlinkDagger]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Pure Matlab]]></category>
		<category><![CDATA[uicontrol]]></category>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327</guid>

					<description><![CDATA[<p>Matlab uicontrol tooltips can be spiced-up using HTML and CSS, including fonts, colors, tables and images</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips">Spicing up Matlab uicontrol tooltips</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/additional-uicontrol-tooltip-hacks" rel="bookmark" title="Additional uicontrol tooltip hacks">Additional uicontrol tooltip hacks </a> <small>Matlab's uicontrol tooltips have several limitations that can be overcome using the control's underlying Java object....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spicing-up-the-matlab-editor" rel="bookmark" title="Spicing up the Matlab Editor">Spicing up the Matlab Editor </a> <small>Matlab's Editor and Workspace can be enhanced quite significantly using an open-source utility. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/aligning-uicontrol-contents" rel="bookmark" title="Aligning uicontrol contents">Aligning uicontrol contents </a> <small>Matlab uicontrols can often be customized using plain HTML/CSS, without need for advanced Java. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/multi-line-tooltips" rel="bookmark" title="Multi-line tooltips">Multi-line tooltips </a> <small>Multi-line tooltips are very easy to set up, once you know your way around a few undocumented hiccups....</small></li>
</ol>
</div>
]]></description>
										<content:encoded><![CDATA[<p>Outside the <a target="_blank" rel="nofollow" href="http://blogs.mathworks.com/">official Matlab blogs</a>, perhaps the most widely known Matlab-related active blog is <a target="_blank" rel="nofollow" href="http://blinkdagger.com/">BlinkDagger</a>. This blog is certainly worth following, especially for novice Matlab users who could gain fresh angles on regular programming tasks that have a simple solution in Matlab.<br />
In <a target="_blank" rel="nofollow" href="http://blinkdagger.com/matlab/matlab-gui-tool-tips-are-your-friends">one of their latest posts</a>, BlinkDagger described how to use tooltips in Matlab GUI. In one of this blog&#8217;s very first posts, I described how <a target="_blank" href="/articles/html-support-in-matlab-uicomponents/">HTML can easily be used with Matlab uicontrols</a>. Let&#8217;s now combine these ideas to show how HTML support can easily be used to spice-up the tooltips.<br />
Let&#8217;s start with a simple styled multi-line tooltip:</p>
<blockquote>
<pre lang="matlab">str = '<html><b>line #1</b><br /><i><font color="red">line#2';
set(hControl,'tooltipString',str);</pre>
</blockquote>
<p><center><figure id="attachment_17" aria-describedby="caption-attachment-17" style="width: 154px" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-27" title="Multi-line HTML'ed tooltip" src="https://undocumentedmatlab.com/blog/wp-content/uploads/2009/03/html2.png" alt="Multi-line HTML'ed tooltip" width="54" height="59" /><figcaption id="caption-attachment-17" class="wp-caption-text">Multi-line HTML'ed tooltip</figcaption></figure></center><br />
This technique was used to display the informative tooltip for my <a target="_blank" rel="nofollow" href="http://www.mathworks.com/matlabcentral/fileexchange/14225">Java-based data table utility on the Matlab file Exchange</a>:<br />
<figure style="width: 450px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" alt="Multi-line HTML-styled tooltip" src="https://undocumentedmatlab.com/images/table.png" title="Multi-line HTML-styled tooltip" width="450" height="187" /><figcaption class="wp-caption-text">Multi-line HTML-styled tooltip</figcaption></figure><br />
Tooltips can also be used to present images, using the HTML &lt;img&gt; tag. However, the image src (filename) needs to be formatted in a URL-compliant format such as &#8216;<a target="_blank" href="/images/table.png">https://undocumentedmatlab.com/images/table.png</a>&#8216; or &#8216;file:/C:\Yair\Undocumented Matlab\Images\table.png&#8217;.<br />
If you try to use a non-URL-format filename, the image will not be displayed. Instead, a placeholder box will appear. For example, let&#8217;s take the table screenshot above and try to place its filename directly in the tooltip HTML:</p>
<blockquote>
<pre lang="matlab">filePath = 'C:\Yair\Undocumented Matlab\Images\table.png';
str = ['<html><center><img decoding="async" src="' filePath '"><br />' filePath];
set(hButton,'tooltipString',str);
</pre>
</blockquote>
<p><center><figure style="width: 241px" class="wp-caption aligncenter"><img decoding="async" alt="Tooltip with invalid HTML img source URL" src="https://undocumentedmatlab.com/images/html_noimg3.png" title="Tooltip with invalid HTML img source URL" width="241" height="57" /><figcaption class="wp-caption-text">Tooltip with invalid HTML img source URL</figcaption></figure></center><br />
If we fix filePath to be a valid URL, it now looks as intended:</p>
<blockquote>
<pre lang="matlab">filePath = 'C:\Yair\Undocumented Matlab\Images\table.png';
filePath = strrep(['file:/' filePath],'\','/');
str = ['<html><center><img decoding="async" src="' filePath '"><br />' ...
       '<b><font color="blue">' filePath];
set(hButton,'tooltipString',str);
</pre>
</blockquote>
<p><center><figure style="width: 450px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" alt="Tooltip with HTML image and caption" src="https://undocumentedmatlab.com/images/html_img3.png" title="Tooltip with HTML image and caption" width="450" height="199" /><figcaption class="wp-caption-text"><br />Tooltip with HTML image and caption</figcaption></figure></center><br />
Note that the tooltip looks enormous (it&#8217;s actually even downsized to fit this post&#8230;). This is because our HTML &lt;img&gt; was not limited in size and so the tooltip was created to display the screenshot in its original large size. In order to limit the tooltip size, simply add the height and width attributes to the HTML &lt;img&gt; tag, remembering to preserve the original image aspect ratio.<br />
Now that we know the basics, we can really go wild with HTML and CSS formatting. Have you configured any kick-butt tooltip in your application? If so, please share it here.</p>
<p>The post <a rel="nofollow" href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips">Spicing up Matlab uicontrol tooltips</a> appeared first on <a rel="nofollow" href="https://undocumentedmatlab.com">Undocumented Matlab</a>.</p>
<div class='yarpp-related-rss'>
<h3>Related posts:</h3><ol>
<li><a href="https://undocumentedmatlab.com/articles/additional-uicontrol-tooltip-hacks" rel="bookmark" title="Additional uicontrol tooltip hacks">Additional uicontrol tooltip hacks </a> <small>Matlab's uicontrol tooltips have several limitations that can be overcome using the control's underlying Java object....</small></li>
<li><a href="https://undocumentedmatlab.com/articles/spicing-up-the-matlab-editor" rel="bookmark" title="Spicing up the Matlab Editor">Spicing up the Matlab Editor </a> <small>Matlab's Editor and Workspace can be enhanced quite significantly using an open-source utility. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/aligning-uicontrol-contents" rel="bookmark" title="Aligning uicontrol contents">Aligning uicontrol contents </a> <small>Matlab uicontrols can often be customized using plain HTML/CSS, without need for advanced Java. ...</small></li>
<li><a href="https://undocumentedmatlab.com/articles/multi-line-tooltips" rel="bookmark" title="Multi-line tooltips">Multi-line tooltips </a> <small>Multi-line tooltips are very easy to set up, once you know your way around a few undocumented hiccups....</small></li>
</ol>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips/feed</wfw:commentRss>
			<slash:comments>20</slash:comments>
		
		
			</item>
	</channel>
</rss>
