Use Emacs Org-mode to graph your sleep pattern.