Yes there is (in Python at least)!
here's a simple example (basically ripped from a pyplot tutorial):
import numpy as np
import matplotlib.pyplot as plt
# evenly sampled time at 200ms intervals
t = np.arange(0., 5., 0.2)
plt.xkcd(scale=1, length=100, randomness=2)
plt.plot(t, t, 'r', t, t**2, 'b', t, t**3, 'g')
plt.show()
just make sure you have a recent enough version of matplotlib and you should be good to go
here's the docs on the xkcd function - http://matplotlib.org/api/pyplot_api.html?highlight=xkcd#matplotlib.pyplot.xkcd
when I run the code above on my computer I see:
