> The initial block is going to be huge. The block is recursively subdivided > and evaluated. If I have a false positive on one of the big blocks, the plot > will be outright wrong. One thing we can do is to break down the whole > region > into a grid and assume that the function is monotonic in each cell and > evaluate the expression. I think this will be the best solution to such > functions.
I suppose this is the problem that I was unable to see. Nonetheless, the solution you propose seems interesting. One other thing - using `fill_between` will work for the big blocks but it will fail for the smaller ones. If you will be working on pixels you may want to check `showimage`. Another thing that may be better than fill_between is to use directly the polygon collection class. I don't know a good way to do this for the vector formats (svgfig). -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
