Getting plot data
Is there a way to extract the set of values used in a plot using sage/python code?
For example, if I have 3D surface plot, what is the best way to get the set of vertices, or the z-values, for the mesh? (and similarly for 2d plots) I've looked through some of the plotting source code but haven't found a straightforward way to access the underlying plot data.
Any tips would be appreciated!