Generating an XKCD-style plot