{"id":2620,"date":"2011-01-28T13:54:39","date_gmt":"2011-01-28T13:54:39","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2011\/01\/28\/cascade-your-figure-windows\/"},"modified":"2016-05-18T11:16:21","modified_gmt":"2016-05-18T15:16:21","slug":"cascade-your-figure-windows","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2011\/01\/28\/cascade-your-figure-windows\/","title":{"rendered":"Cascade your Figure Windows"},"content":{"rendered":"<div class=\"content\">\r\n\r\n<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\">Jiro<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/16002-cascade\"><tt>cascade<\/tt><\/a> by a fellow MathWorks application engineer, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/29081\">Isaac Noh<\/a>.\r\n\r\nDo you work with a lot of figures? Do you end up with so many figures open that it becomes hard for you to find the one you're\r\nlooking for? You just need to <tt>cascade<\/tt> them so that you can see them all. Add <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/ref\/figure_props.html#Name\">Names<\/a> to your figures so that you can easily spot them by their title bars.\r\n\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_cascade\/cascade_screenshot.png\" alt=\"\" hspace=\"5\" vspace=\"5\" \/>\r\n\r\n<b>Comments<\/b>\r\n\r\nLet us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2620#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/16002-cascade#comments\">comment<\/a> for Isaac.\r\n\r\n<script>\/\/ <![CDATA[\r\nfunction grabCode_021c02dac204410b8b86afd36804c974() {\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='021c02dac204410b8b86afd36804c974 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 021c02dac204410b8b86afd36804c974';\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 = 'Jiro Doke';\r\n        copyright = 'Copyright 2011 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('\r\n\r\n<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>\r\n\r\n\r\n\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }\r\n\/\/ ]]><\/script>\r\n<p style=\"text-align: right; font-size: xx-small; font-weight: lighter; font-style: italic; color: gray;\">\r\n<a><span style=\"font-size: x-small; font-style: italic;\">Get\r\nthe MATLAB code\r\n<noscript>(requires JavaScript)<\/noscript><\/span><\/a>\r\n\r\nPublished with MATLAB\u00ae 7.11<\/p>\r\n\r\n<\/div>\r\n<!--\r\n021c02dac204410b8b86afd36804c974 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007 % Jiro>'s pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/16002-cascade % |cascade|> by a fellow MathWorks application engineer,\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/29081 Isaac % Noh>.\r\n%\r\n% Do you work with a lot of figures? Do you end up with so many figures\r\n% open that it becomes hard for you to find the one you're looking for? You\r\n% just need to |cascade| them so that you can see them all. Add\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/ref\/figure_props.html#Name % Names> to your figures so that you can easily spot them by their title\r\n% bars.\r\n%\r\n% <<cascade_screenshot.png>>\r\n%\r\n% *Comments*\r\n%\r\n% Let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2620#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/16002-cascade#comments % comment> for Isaac.\r\n\r\n##### SOURCE END ##### 021c02dac204410b8b86afd36804c974\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n\r\nJiro's pick this week is cascade by a fellow MathWorks application engineer, Isaac Noh.\r\n\r\nDo you work with a lot of figures? Do you end up with so many figures open that it becomes hard for you... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2011\/01\/28\/cascade-your-figure-windows\/\">read more >><\/a><\/p>","protected":false},"author":35,"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\/2620"}],"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\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2620"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2620\/revisions"}],"predecessor-version":[{"id":7327,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2620\/revisions\/7327"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}