There have been some complaints that my lines are too straight. How about this:
(With the caveat that there is also user control over the degree and frequency of waver if this is too scribbly.)
For some background on this blog post (for those stumbling on it in isolation) see part I and part II.
Now I should probably go do some "real" work. . . .
Can you please add a "drunk = T" parameter?
ReplyDeleteToo wiggly. . . ?
DeleteMaybe a bac (blood alcohol content) parameter to determine waviness?
Deletebac < 0.05, straight.
0.05 < bac < 0.1 slight wave
0.1 < bac < 0.15 moderate wave
0.15 < bac < 0.2 significant wave
0.2 < bac < 0.3 extreme wave
bac > 0.3 aka "Tennessee butt chugging level", wtf do those lines mean?
Should have an option to replace the background with a stained bar napkin.
DeleteHuge props to the first person who publishes a figure in a paper using this!!!!
ReplyDeleteIf anyone is interested in taking this to the ggplot side of things, I've done some work on a slightly unfinished (but usable, nonetheless) package for phylogenies in ggplot: https://github.com/gjuggler/ggphylo
ReplyDeleteI haven't worked on the code for ages now, but I'd be happy to help in the name of xkcd goodness. =)
Hey Liam,
ReplyDeleteIs there code available to do this??? I would love to include a figure like this in a presentation i am giving.
if you don't mind passing it on, that would be great.
matt
Yup. I will post or send it to you today. Liam
Delete@Matt - see my latest post on this, here.
Delete