{"id":2594,"date":"2010-09-10T13:48:59","date_gmt":"2010-09-10T13:48:59","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2010\/09\/10\/figures-for-presentation\/"},"modified":"2010-09-10T13:48:59","modified_gmt":"2010-09-10T13:48:59","slug":"figures-for-presentation","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2010\/09\/10\/figures-for-presentation\/","title":{"rendered":"Figures for Presentation"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <p><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\/24095-fixfig\"><tt>fixfig<\/tt><\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/24905\">Matt Hopcroft<\/a>.\r\n   <\/p>\r\n   <p>When I'm not writing blogs or coding MATLAB, I'm often on the road showcasing MATLAB to many users (new and experienced).\r\n      Depending on where I am, I may not always have a large screen to present with. In those cases, I make sure I use large fonts\r\n      for my code and text on my MATLAB desktop (from the <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brxsqyh.html#f1-70353\">preferences<\/a>). With Matt's <tt>fixfig<\/tt>, I can now quickly increase the font, line thickness, and marker size of a plot.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/fixfig_screenshot.png\"> <\/p>\r\n   <p>To make it easier for me to do this on the fly, I put the function inside a <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/bq37azl-1.html\">shortcut<\/a>. Now I can simply click on the shortcut after creating my plot. Thanks for this entry, Matt!\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/fixfig_shortcut.png\"> <\/p>\r\n   <p><b>Comments<\/b><\/p>\r\n   <p>Give this a try and let us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2594#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24095-fixfig#comment\">comment<\/a> for Matt.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_d92995aa7a844633af731f556e389b35() {\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='d92995aa7a844633af731f556e389b35 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' d92995aa7a844633af731f556e389b35';\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 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_d92995aa7a844633af731f556e389b35()\"><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.11<br><\/p>\r\n<\/div>\r\n<!--\r\nd92995aa7a844633af731f556e389b35 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\r\n% Jiro>'s pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24095-fixfig |fixfig|> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/24905 Matt\r\n% Hopcroft>.\r\n%\r\n% When I'm not writing blogs or coding MATLAB, I'm often on the road\r\n% showcasing MATLAB to many users (new and experienced). Depending on where\r\n% I am, I may not always have a large screen to present with. In those\r\n% cases, I make sure I use large fonts for my code and text on my MATLAB\r\n% desktop (from the\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/brxsqyh.html#f1-70353\r\n% preferences>). With Matt's |fixfig|, I can now quickly increase the font,\r\n% line thickness, and marker size of a plot.\r\n%\r\n% <<fixfig_screenshot.png>>\r\n%\r\n% To make it easier for me to do this on the fly, I put the function inside\r\n% a\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2010b\/techdoc\/matlab_env\/bq37azl-1.html\r\n% shortcut>. Now I can simply click on the shortcut after creating my plot.\r\n% Thanks for this entry, Matt!\r\n%\r\n% <<fixfig_shortcut.png>>\r\n%\r\n% *Comments*\r\n%\r\n% Give this a try and let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2594#respond here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24095-fixfig#comment\r\n% comment> for Matt.\r\n\r\n##### SOURCE END ##### d92995aa7a844633af731f556e389b35\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   Jiro's pick this week is fixfig by Matt Hopcroft.\r\n   \r\n   When I'm not writing blogs or coding MATLAB, I'm often on the road showcasing MATLAB to many users (new and experienced).\r\n     ... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2010\/09\/10\/figures-for-presentation\/\">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\/2594"}],"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=2594"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2594\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}