On 06/02/2010 02:43 AM, Mike Hansen wrote:
After the grid is computed, we hand it off to matplotlib which figures out the curves to draw. You had seemed to be suggesting doing this part with our own code (connect the dots, etc.) which seems silly compared to just using what matplotlib already provides.
I agree. As I understand it, matplotlib has some nice nontrivial contour plotting routines (but I don't know---I haven't looked at the code). It would be interesting to compare them to a naive contour routine like you suggest, but my guess is that you wouldn't get any better and probably would be worse. But hey, if you have the time, it's probably interesting to try, even just for the educational experience. And if it's better, I'd suggest contributing it to matplotlib.
But writing your own contour plotting routine is completely beside the point of solving the original problem.
Is the data not stored somewhere inside of the matplotlib contour plot object? Of course there is *something* stored inside there.
Jason -- 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/sage-support URL: http://www.sagemath.org
