{"id":5580,"date":"2014-10-17T09:00:58","date_gmt":"2014-10-17T13:00:58","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=5580"},"modified":"2014-11-06T04:11:47","modified_gmt":"2014-11-06T09:11:47","slug":"r2014b-new-graphics-system-and-plot-gallery","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2014\/10\/17\/r2014b-new-graphics-system-and-plot-gallery\/","title":{"rendered":"R2014b, New Graphics System, and 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 <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 gallery, which hosts a collection of File Exchange entries showing various plotting examples, has been highlighted once\r\n      <a href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/03\/23\/matlab-plot-gallery\/\">before<\/a>. I want to bring this up once again, since the examples are now updated with the new graphics system in R2014b. The example\r\n      code is backward compatible, so you can still run them in older releases, but running them in the current release (R2014b)\r\n      will give you the new look.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_plotgalleryV2\/plotgalleryV2screenshot.png\"> <\/p>\r\n   <p>So what's changed with the new graphics system? <b><i>A lot!!<\/i><\/b> Rather than, talking about them here, let me point you to a few great resources. The first is a series of blog posts in <a href=\"https:\/\/blogs.mathworks.com\/loren\">Loren's blog<\/a>:\r\n   <\/p>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"https:\/\/blogs.mathworks.com\/loren\/2014\/10\/03\/matlab-r2014b-graphics-part-1-features-of-the-new-graphics-system\/\">Part 1: Features of the New Graphics System<\/a><\/li>\r\n         <li><a href=\"https:\/\/blogs.mathworks.com\/loren\/2014\/10\/14\/matlab-r2014b-graphics-part-2-using-graphics-objects\/\">Part 2: Using Graphics Objects<\/a><\/li>\r\n         <li><a href=\"https:\/\/blogs.mathworks.com\/loren\/2014\/11\/05\/matlab-r2014b-graphics-part-3-compatibility-considerations-in-the-new-graphics-system\/\">Part 3: Compatibility Considerations in the New Graphics System<\/a><\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <p>These posts will give you a nice introduction to the new graphics system.<\/p>\r\n   <p>Second, there are a couple of blog posts about the new colormap in <a href=\"https:\/\/blogs.mathworks.com\/steve\">Steve's blog<\/a>:\r\n   <\/p>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"https:\/\/blogs.mathworks.com\/steve\/2014\/10\/13\/a-new-colormap-for-matlab-part-1-introduction\/\">A New Colormap for MATLAB - Part 1 - Introduction<\/a><\/li>\r\n         <li><a href=\"https:\/\/blogs.mathworks.com\/steve\/2014\/10\/20\/a-new-colormap-for-matlab-part-2-troubles-with-rainbows\/\">A New Colormap for MATLAB - Part 2 - Troubles with Rainbows<\/a><\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <p>And finally, there is the newly introduced blog, <a href=\"https:\/\/blogs.mathworks.com\/graphics\/\">Mike on MATLAB Graphics<\/a>. Mike is a MathWorks developer working on MATLAB's graphics system, and he will be writing about computer graphics concepts\r\n      and MATLAB graphics techniques.\r\n   <\/p>\r\n   <p><b>Comments<\/b><\/p>\r\n   <p>Take a look at these resources and let us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=5580#respond\">here<\/a>.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_2897d293fb7a46ea8fb41bbc3b7c4eb5() {\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='2897d293fb7a46ea8fb41bbc3b7c4eb5 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 2897d293fb7a46ea8fb41bbc3b7c4eb5';\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 = '';\r\n        copyright = 'Copyright 2014 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_2897d293fb7a46ea8fb41bbc3b7c4eb5()\"><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; R2014b<br><\/p>\r\n<\/div>\r\n<!--\r\n2897d293fb7a46ea8fb41bbc3b7c4eb5 ##### 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\/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 gallery, which hosts a collection of File Exchange entries showing\r\n% various plotting examples, has been highlighted once\r\n% <https:\/\/blogs.mathworks.com\/pick\/2012\/03\/23\/matlab-plot-gallery\/ before>.\r\n% I want to bring this up once again, since the examples are now updated\r\n% with the new graphics system in R2014b. The example code is backward\r\n% compatible, so you can still run them in older releases, but running them\r\n% in the current release (R2014b) will give you the new look.\r\n%\r\n% <<plotgalleryV2screenshot.png>>\r\n%\r\n% So what's changed with the new graphics system? *_A lot!!_* Rather than,\r\n% talking about them here, let me point you to a few great resources.\r\n% The first is a series of blog posts in <https:\/\/blogs.mathworks.com\/loren\r\n% Loren's blog>:\r\n%\r\n% * <https:\/\/blogs.mathworks.com\/loren\/2014\/10\/03\/matlab-r2014b-graphics-part-1-features-of-the-new-graphics-system\/\r\n% Part 1: Features of the New Graphics System>\r\n% * <https:\/\/blogs.mathworks.com\/loren\/2014\/10\/14\/matlab-r2014b-graphics-part-2-using-graphics-objects\/\r\n% Part 2: Using Graphics Objects>\r\n% * <https:\/\/blogs.mathworks.com\/loren\/2014\/11\/05\/matlab-r2014b-graphics-part-3-compatibility-considerations-in-the-new-graphics-system\/\r\n% Part 3: Compatibility Considerations in the New Graphics System>\r\n%\r\n% These posts will give you a nice introduction to the new graphics system.\r\n%\r\n% Second, there are a couple of blog posts about the new colormap in\r\n% <https:\/\/blogs.mathworks.com\/steve Steve's blog>:\r\n%\r\n% * <https:\/\/blogs.mathworks.com\/steve\/2014\/10\/13\/a-new-colormap-for-matlab-part-1-introduction\/\r\n% A New Colormap for MATLAB - Part 1 - Introduction>\r\n% * <https:\/\/blogs.mathworks.com\/steve\/2014\/10\/20\/a-new-colormap-for-matlab-part-2-troubles-with-rainbows\/\r\n% A New Colormap for MATLAB - Part 2 - Troubles with Rainbows>\r\n%\r\n% And finally, there is the newly introduced blog,\r\n% <https:\/\/blogs.mathworks.com\/graphics\/ Mike on MATLAB Graphics>. Mike is a\r\n% MathWorks developer working on MATLAB's graphics system, and he will be\r\n% writing about computer graphics concepts and MATLAB graphics techniques.\r\n%\r\n% *Comments*\r\n%\r\n% Take a look at these resources and let us know what you think\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=5580#respond here>.\r\n\r\n##### SOURCE END ##### 2897d293fb7a46ea8fb41bbc3b7c4eb5\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_plotgalleryV2\/plotgalleryV2screenshot.png\" onError=\"this.style.display ='none';\" \/><\/div><p>\r\n   Jiro's pick this week is MATLAB Plot Gallery by Plot Gallery.\r\n   \r\n   This gallery, which hosts a collection of File Exchange entries showing various plotting examples, has been highlighted... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2014\/10\/17\/r2014b-new-graphics-system-and-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\/5580"}],"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=5580"}],"version-history":[{"count":8,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/5580\/revisions"}],"predecessor-version":[{"id":5616,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/5580\/revisions\/5616"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=5580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=5580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=5580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}