{"id":3411,"date":"2012-03-23T09:17:31","date_gmt":"2012-03-23T14:17:31","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=3411"},"modified":"2012-03-23T09:17:31","modified_gmt":"2012-03-23T14:17:31","slug":"matlab-plot-gallery","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2012\/03\/23\/matlab-plot-gallery\/","title":{"rendered":"MATLAB Plot Gallery"},"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 the <a href=\"https:\/\/www.mathworks.com\/products\/matlab\/plot-gallery.html\">MATLAB Plot Gallery<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/196102\">Plot Gallery<\/a>.\r\n   <\/p>\r\n   <p>This week, I'd like to introduce a new page on our MathWorks website - the MATLAB Plot Gallery.<\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_plotgallery\/plotgallery_sc.png\"> <\/p>\r\n   <p>MATLAB Plot Gallery is a visually-indexed page of various examples of graphical techniques in MATLAB. Hovering over the thumbnails\r\n      will show you a larger preview of the plot. When you click on the thumbnails, it takes you to the corresponding <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?term=authorid:196102\">File Exchange entries<\/a> where you can view and download the MATLAB code.\r\n   <\/p>\r\n   <p>The aim of the gallery is to give existing users quick access to example code snippets of different plotting techniques, and\r\n      to give potential users an idea of what's capable in MATLAB for graphics. Currently, the gallery only contains basic plot\r\n      types, customization commands, and some advanced techniques in core MATLAB. The plan is to increase the number of examples,\r\n      including more advanced and application-specific visualizations.\r\n   <\/p>\r\n   <p><b>Comments<\/b><\/p>\r\n   <p>Please check it out and let us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=3411#respond\">here<\/a>. Also, let us know what other types of visualization examples you would like to see.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_4d916092db9644ad9f4abf558302fac0() {\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='4d916092db9644ad9f4abf558302fac0 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 4d916092db9644ad9f4abf558302fac0';\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 2012 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_4d916092db9644ad9f4abf558302fac0()\"><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.14<br><\/p>\r\n<\/div>\r\n<!--\r\n4d916092db9644ad9f4abf558302fac0 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\r\n% Jiro>'s pick this week is the\r\n% <https:\/\/www.mathworks.com\/products\/matlab\/plot-gallery.html MATLAB Plot Gallery> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/196102 Plot\r\n% Gallery>.\r\n%\r\n% This week, I'd like to introduce a new page on our MathWorks website -\r\n% the MATLAB Plot Gallery. \r\n%\r\n% <<plotgallery_sc.png>>\r\n%\r\n% MATLAB Plot Gallery is a visually-indexed page of various examples of\r\n% graphical techniques in MATLAB. Hovering over the thumbnails will show\r\n% you a larger preview of the plot. When you click on the thumbnails, it\r\n% takes you to the corresponding\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?term=authorid:196102\r\n% File Exchange entries> where you can view and download the MATLAB code.\r\n%\r\n% The aim of the gallery is to give existing users quick access to example\r\n% code snippets of different plotting techniques, and to give potential\r\n% users an idea of what's capable in MATLAB for graphics. Currently, the\r\n% gallery only contains basic plot types, customization commands, and some\r\n% advanced techniques in core MATLAB. The plan is to increase the number of\r\n% examples, including more advanced and application-specific\r\n% visualizations.\r\n%\r\n% *Comments*\r\n%\r\n% Please check it out and let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=3411#respond here>. Also, let us know\r\n% what other types of visualization examples you would like to see.\r\n##### SOURCE END ##### 4d916092db9644ad9f4abf558302fac0\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   Jiro's pick this week is the MATLAB Plot Gallery by Plot Gallery.\r\n   \r\n   This week, I'd like to introduce a new page on our MathWorks website - the MATLAB Plot Gallery.\r\n    \r\n   MATLAB Plot... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/03\/23\/matlab-plot-gallery\/\">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\/3411"}],"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=3411"}],"version-history":[{"count":6,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3411\/revisions"}],"predecessor-version":[{"id":3417,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3411\/revisions\/3417"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=3411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=3411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=3411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}