{"id":2505,"date":"2009-12-18T12:15:39","date_gmt":"2009-12-18T12:15:39","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2009\/12\/18\/sparklines-table-10\/"},"modified":"2009-12-18T12:15:39","modified_gmt":"2009-12-18T12:15:39","slug":"sparklines-table-10","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2009\/12\/18\/sparklines-table-10\/","title":{"rendered":"Sparklines Table 1.0"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/5021\">Bob<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26039-sparklines-table-1-0\">Sparklines Table 1.0<\/a>  by James Houghton.\r\n      <\/p>\r\n   <\/introduction>\r\n   <p>While I have not personally studied the methods of Edward Tufte* I have seen some interesting data visualizations over the\r\n      years based on his work. I emailed a list of colleagues to see who might loan me his book to look up the reference James included\r\n      in his submission (thanks for that). A common reply was \"Which one? I have three\" and it turned out the one James cited had\r\n      two editions. So I am a little surprised there are not <i>more<\/i> Tufte plots on the File Exchange, but <tt>sparklines<\/tt> is a good start.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/sparklines_example.png\"> <\/p>\r\n   <p>The basic idea with <tt>sparklines<\/tt> is to keep graphics as compact as possible. The combined plots and tabulated statistics are a neat idea. The fact that dozens\r\n      of them can easily be seen together is an approach that I know will appeal to many.\r\n   <\/p>\r\n   <p>James makes it clear in his description that this submission is a beginning. His code includes a list of \"to do\" items for\r\n      future enhancement. I love the fact that he submitted early stage work. There is so much potential here. Collaboration might\r\n      be just the ticket for getting more done faster.\r\n   <\/p>\r\n   <p>*see also <a href=\"http:\/\/www.edwardtufte.com\/\">edwardtufte.com<\/a><\/p>\r\n   <p><a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2505#respond\">Comments?<\/a><\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_b1ff29c75a5a40ad96e56c7b783c6311() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='b1ff29c75a5a40ad96e56c7b783c6311 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' b1ff29c75a5a40ad96e56c7b783c6311';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Robert Bemis';\r\n        copyright = 'Copyright 2009 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_b1ff29c75a5a40ad96e56c7b783c6311()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.10<br><\/p>\r\n<\/div>\r\n<!--\r\nb1ff29c75a5a40ad96e56c7b783c6311 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/5021 Bob>'s \r\n% pick this week is \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26039-sparklines-table-1-0 Sparklines Table 1.0> \r\n%  by James Houghton. \r\n%%\r\n% While I have not personally studied the methods of Edward Tufte* I have seen\r\n% some interesting data visualizations over the years based on \r\n% his work. I emailed a list of colleagues to see who might loan me\r\n% his book to look up the reference James included in his submission (thanks\r\n% for that). A common reply was \"Which one? I have three\" and it turned out\r\n% the one James cited had two editions. So I am a little surprised there are\r\n% not _more_ Tufte plots on the File Exchange, but |sparklines| is a good\r\n% start. \r\n%%\r\n% <<..\/images\/pick\/sparklines_example.png>>\r\n%%\r\n% The basic idea with |sparklines| is to keep graphics as compact as possible.\r\n% The combined plots and tabulated statistics are a neat idea. The fact that\r\n% dozens of them can easily be seen together is an approach that I know will\r\n% appeal to many.\r\n%%\r\n% James makes it clear in his description that this submission is a\r\n% beginning. His code includes a list of \"to do\" items for future\r\n% enhancement. I love the fact that he submitted early stage work. There is\r\n% so much potential here. Collaboration might be just the ticket for\r\n% getting more done faster. \r\n%%\r\n% *see also <http:\/\/www.edwardtufte.com\/ edwardtufte.com>\r\n%%\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2505#respond Comments?>\r\n\r\n##### SOURCE END ##### b1ff29c75a5a40ad96e56c7b783c6311\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      Bob's pick this week is Sparklines Table 1.0  by James Houghton.\r\n      \r\n   \r\n   While I have not personally studied the methods of Edward Tufte* I have seen some interesting data... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2009\/12\/18\/sparklines-table-10\/\">read more >><\/a><\/p>","protected":false},"author":46,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2505"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2505"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2505\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}