Here's the magical graphing calculator I made in Python some time back. It's a little technical at times, but if you follow the comments, it should be pretty easy to figure out how to work it! This code can't be run in the website, as it has some graphics.