{"id":4367,"date":"2018-12-24T12:00:09","date_gmt":"2018-12-24T17:00:09","guid":{"rendered":"https:\/\/blogs.mathworks.com\/cleve\/?p=4367"},"modified":"2018-12-15T20:39:00","modified_gmt":"2018-12-16T01:39:00","slug":"mandelbrot-brings-seasons-greetings","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/cleve\/2018\/12\/24\/mandelbrot-brings-seasons-greetings\/","title":{"rendered":"Mandelbrot Brings Season&#8217;s Greetings"},"content":{"rendered":"\r\n<div class=\"content\"><h3>Mandelbrot Brings Season's Greetings<\/h3><p>Mandelbrot sports a new red, green and gold colormap to celebrate the holidays.<\/p><pre class=\"codeinput\">   old_mandelbrot\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/cleve\/files\/xmas_blog_01.png\" alt=\"\"> <pre class=\"codeinput\">   holiday_mandelbrot\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/cleve\/files\/xmas_blog_02.png\" alt=\"\"> <p>Available in Version 4.10 of <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/59085-cleve-laboratory\">Cleve's Laboratory<\/a>.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_eb23d32cf05543f3bd88594f0cb78ba6() {\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='eb23d32cf05543f3bd88594f0cb78ba6 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' eb23d32cf05543f3bd88594f0cb78ba6';\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        copyright = 'Copyright 2018 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 copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\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     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_eb23d32cf05543f3bd88594f0cb78ba6()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><\/div><!--\r\neb23d32cf05543f3bd88594f0cb78ba6 ##### SOURCE BEGIN #####\r\n%% Mandelbrot Brings Season's Greetings\r\n% Mandelbrot sports a new red, green and gold colormap to celebrate the\r\n% holidays.\r\n\r\n   old_mandelbrot\r\n   \r\n%%\r\n\r\n   holiday_mandelbrot\r\n\r\n%%\r\n% Available in Version 4.10 of\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/59085-cleve-laboratory\r\n% Cleve's Laboratory>.\r\n%\r\n##### SOURCE END ##### eb23d32cf05543f3bd88594f0cb78ba6\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/cleve\/files\/xmas_1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>\r\nMandelbrot Brings Season's GreetingsMandelbrot sports a new red, green and gold colormap to celebrate the holidays.   old_mandelbrot\r\n    holiday_mandelbrot\r\n Available in Version 4.10 of Cleve's... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/cleve\/2018\/12\/24\/mandelbrot-brings-seasons-greetings\/\">read more >><\/a><\/p>","protected":false},"author":78,"featured_media":4371,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[32,18,5,23],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/4367"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/comments?post=4367"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/4367\/revisions"}],"predecessor-version":[{"id":4377,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/4367\/revisions\/4377"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/media\/4371"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/media?parent=4367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/categories?post=4367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/tags?post=4367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}