{"id":4731,"date":"2012-12-29T09:00:04","date_gmt":"2012-12-29T08:00:04","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=4731"},"modified":"2014-10-30T09:48:07","modified_gmt":"2014-10-30T08:48:07","slug":"xkcd-style-graphs-in-various-languages","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=4731","title":{"rendered":"xkcd style graphs in various languages"},"content":{"rendered":"<p><a href=\"http:\/\/xkcd.com\/\">xkcd is a popular webcomic<\/a> that sometimes includes hand drawn graphs in a distinctive style.\u00a0 Here&#8217;s a typical example<br \/>\n<a href=\"http:\/\/xkcd.com\/1064\/\"><img decoding=\"async\" alt=\"xkcd graph\" src=\"https:\/\/www.walkingrandomly.com\/images\/random\/bjF9V.png\" \/><\/a><\/p>\n<p>In a recent Mathematica StackExchange question, someone asked how such graphs could be automatically produced in Mathematica and code was quickly whipped up by the community.\u00a0 Since then, various individuals and communities have developed code to do the same thing in a range of languages.\u00a0 Here&#8217;s the list of examples I&#8217;ve found so far<\/p>\n<ul>\n<li><a href=\"http:\/\/mathematica.stackexchange.com\/questions\/11350\/xkcd-style-graphs\">xkcd style graphs in Mathematica<\/a>. There is also a <a href=\"http:\/\/blog.wolfram.com\/2012\/10\/05\/automating-xkcd-diagrams-transforming-serious-to-funny\/\">Wolfram blog post<\/a> on this subject.<\/li>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/12675147\/how-can-we-make-xkcd-style-graphs-in-r\">xkcd style graphs in R<\/a>. A follow up <a href=\"http:\/\/vis.supstat.com\/2012\/11\/make-xkcd-style-graphs-in-r\/\">blog post at vistat<\/a>.<\/li>\n<li><a href=\"http:\/\/tex.stackexchange.com\/questions\/74878\/create-xkcd-style-diagram-in-tex\">xkcd style graphs in LaTeX<\/a><\/li>\n<li><a href=\"http:\/\/jakevdp.github.com\/blog\/2012\/10\/07\/xkcd-style-plots-in-matplotlib\/\">xkcd style graphs in Python using matplotlib<\/a><\/li>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/12701841\/xkcd-style-graphs-in-matlab\">xkcd style graphs in MATLAB<\/a>. There is now <a href=\"http:\/\/www.mathworks.co.uk\/matlabcentral\/fileexchange\/38499-xkcdify\">some code on the File Exchange<\/a> that does this with your own plots.<\/li>\n<li><a href=\"http:\/\/dan.iel.fm\/xkcd\/\">xkcd style graphs in javascript using D3<\/a><\/li>\n<li><a href=\"http:\/\/observations.rene-grothmann.de\/euler-version-20\/\">xkcd style graphs in Euler<\/a><\/li>\n<li><a href=\"http:\/\/implicitnone.com\/xkcd-plots-fortran\/\">xkcd style graphs in Fortran<\/a><\/li>\n<\/ul>\n<p>Any I&#8217;ve missed?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>xkcd is a popular webcomic that sometimes includes hand drawn graphs in a distinctive style.\u00a0 Here&#8217;s a typical example In a recent Mathematica StackExchange question, someone asked how such graphs could be automatically produced in Mathematica and code was quickly whipped up by the community.\u00a0 Since then, various individuals and communities have developed code to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[45,3,4,8,11,7,31,36],"tags":[],"class_list":["post-4731","post","type-post","status-publish","format-standard","hentry","category-just-for-fun","category-latex","category-math-software","category-mathematica","category-matlab","category-programming","category-python","category-r"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-1ej","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4731"}],"version-history":[{"count":4,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4731\/revisions"}],"predecessor-version":[{"id":5583,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/4731\/revisions\/5583"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}