9
votes
2answers
216 views

How do I find, algorithmically, which parts of a given function are interesting to graph?

I'm building a program that does 2D graphing, and was wondering: How can I determine the default zoom level and x/y extents to display on screen, in such a way as to maximise the 'interesting' parts ...