{"id":2547,"date":"2010-03-26T10:59:45","date_gmt":"2010-03-26T10:59:45","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/26\/on-figure-magnifier\/"},"modified":"2017-01-06T21:27:56","modified_gmt":"2017-01-07T02:27:56","slug":"on-figure-magnifier","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/26\/on-figure-magnifier\/","title":{"rendered":"On-figure magnifier"},"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\/26007-on-figure-magnifier\">On-figure magnifier<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/78401\">David Fernandez-Prim<\/a>.\r\n      <\/p>\r\n   <\/introduction>\r\n\r\n   <p>This is not the only File Exchange submission that provides a kind of exploded view for a particular region of interest in\r\n      data plots. From the <a href=\"https:\/\/blogs.mathworks.com\/pick\/archives\/\">Pick of the Week archives<\/a> for example, see also the March 2, 2006 post <a href=\"https:\/\/blogs.mathworks.com\/pick\/2006\/03\/02\/1868\/\">Dynamic plot zooming<\/a>. In fact, <tt><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26007-on-figure-magnifier\">magnifyOnFigure<\/a><\/tt> acknowledges <tt><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/5961-magnify\">magnify<\/a><\/tt> and <tt><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/7286-magnifyrecttofig\">magnifyrecttofig<\/a><\/tt>, along with <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/2884-zoombox\">ZoomBox<\/a> and <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21119-jeweler-s-loupe\">Jeweler's Loupe<\/a> for inspiration.\r\n   <\/p>\r\n   <p>I found the many gestures for manipulating regions and their insets to be quite impressive for starters. Tweaking your plot\r\n      to make it look just right is an artistic aspect of scientific analysis that many of us take seriously. Having both coarse\r\n      and fine grained controls is great.\r\n   <\/p>\r\n   <p>I love the fact that multiple exploded views can be added to one plot. Maybe you have not needed to do this yourself, but\r\n      someone interested in heart monitor blips might find this really useful. David even wired up the Tab key to conveniently switch\r\n      between regions.\r\n   <\/p>\r\n   <p>I always like to see interactions between different users working together. In the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26007-on-figure-magnifier#feedback\">Comments and Ratings<\/a> section notice the rich feedback suggested by Kris. Also note that the Update history shows a sizeable list of enhancements\r\n      and bug fixes. This kind of user activity is great to see.\r\n   <\/p>\r\n   <p><a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2547#respond\">Comments?<\/a><\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_1fb28bc7a42f456da25813d1f46362a9() {\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='1fb28bc7a42f456da25813d1f46362a9 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 1fb28bc7a42f456da25813d1f46362a9';\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 2010 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_1fb28bc7a42f456da25813d1f46362a9()\"><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\n1fb28bc7a42f456da25813d1f46362a9 ##### 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\/26007-on-figure-magnifier On-figure magnifier> \r\n% by \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/78401 David Fernandez-Prim>.\r\n%%\r\n% <<https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/26007\/11\/screenshot.png>>\r\n%%\r\n% This is not the only File Exchange submission that provides a kind of \r\n% exploded view for a particular region of interest in data plots. From\r\n% the \r\n% <https:\/\/blogs.mathworks.com\/pick\/archives\/ Pick of the Week archives>\r\n% for example, see also the March 2, 2006 post \r\n% <https:\/\/blogs.mathworks.com\/pick\/2006\/03\/02\/1868\/ Dynamic plot zooming>.\r\n% In fact, \r\n% |<https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26007-on-figure-magnifier magnifyOnFigure>|\r\n% acknowledges \r\n% |<https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/5961-magnify magnify>| \r\n% and \r\n% |<https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/7286-magnifyrecttofig magnifyrecttofig>|, \r\n% along with \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/2884-zoombox ZoomBox> \r\n% and \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21119-jeweler-s-loupe Jeweler's Loupe>\r\n% for inspiration.\r\n%%\r\n% I found the many gestures for manipulating regions and their insets to be\r\n% quite impressive for starters. Tweaking your plot to make it look just\r\n% right is an artistic aspect of scientific analysis that many of us take\r\n% seriously. Having both coarse and fine grained controls is great.\r\n%%\r\n% I love the fact that multiple exploded views can be added to one plot.\r\n% Maybe you have not needed to do this yourself, but someone interested in \r\n% heart monitor blips might find this really useful. David even wired up\r\n% the Tab key to conveniently switch between regions.\r\n%%\r\n% I always like to see interactions between different users working\r\n% together. In the \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/26007-on-figure-magnifier#feedback Comments and Ratings>\r\n% section notice the rich feedback suggested by Kris. Also note that the\r\n% Update history shows a sizeable list of enhancements and bug fixes. This\r\n% kind of user activity is great to see.\r\n\r\n%%\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2547#respond Comments?>\r\n\r\n##### SOURCE END ##### 1fb28bc7a42f456da25813d1f46362a9\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      Bob's pick this week is On-figure magnifier by David Fernandez-Prim.\r\n      \r\n   \r\n\r\n   This is not the only File Exchange submission that provides a kind of exploded view for a... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/26\/on-figure-magnifier\/\">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\/2547"}],"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=2547"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2547\/revisions"}],"predecessor-version":[{"id":8334,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2547\/revisions\/8334"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}