Code covered by the BSD License  

Highlights from
XKCDIFY

5.0

5.0 | 1 rating Rate this file 19 Downloads (last 30 days) File Size: 4.07 KB File ID: #38499
image thumbnail

XKCDIFY

by

 

Redraw existing plots to look like XKCD style plots

| Watch this File

File Information
Description

XKCDIFY is tool for converting any plot to a XKCD style plot!

Create plots and style them using the standard Matlab functions and then convert the finished plot to an XKCD style plot!

XKCD iterates over the children of an axes and distorts them based upon their TYPE. If the type is LINE or PATCH it distorts. If the child is of type HGGROUP it then iterates on the sub-children of the hggroup.

% XKCDIFY( AXES ) re-renders all childen of AXES to have a hand drawn
% XKCD style, http://xkcd.com, AXES can be a single axes or a vector of axes

Acknowledgements

This file inspired Rgbmap Color Maps and Intuitive Rgb Color Values From Xkcd.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 Oct 2012 nate

Also interesting to see other approaches at the SO page:
http://stackoverflow.com/questions/12701841/xkcd-style-graphs-in-matlab

05 Oct 2012 nate

Well done! a couple of suggestions for improvement:

1. make the axes to also look hand drawn by overwriting them with your "cartoonify_line"...

2. Add the Humor-Sans font, that is available from http://xkcdsucks.blogspot.com/2009/03/xkcdsucks-is-proud-to-present-humor.html

Contact us