Krastanov/sympy — pull request #5 by catchmrbharath (2012-05-23 08:46:51+00:00)
Title: Adaptive Sampling

I have added adaptive sampling for LineOver2D series. It checks whether three points are almost straight or not. If it is not, a new point is added between the first and the second point.

There are some constants used in the plotting module.
Three points are straight if the angle between them satisfies -1 < cos(theta) < -1 + 0.001.
The algorithm has to be changed once we decide on whether we should discard the complex values or keep the real part of the complex values.