# generate_plot_points for multiple variable functions and contour_plot

 0 Is there a default sage function to generate all (x,y,f(x,y)) values the program uses to draw a multivariable function or the contours of let's say a f(x,y)=C ? I am new to sage and could only find that generate_plot_points works only for one variable functions. Example from documentation: sage: from sage.plot.plot import generate_plot_points sage: generate_plot_points(sin, (0, pi), plot_points=2, adaptive_recursion=0)  I guess one could solve symbolically let's say a contour equation and then create the values i talk about like discussed here: sage: var('x,y') (x, y) sage: solve(y^2 - x^3 - x == 0, [y]) [y == -sqrt(x)*sqrt(x^2 + 1), y == sqrt(x)*sqrt(x^2 + 1)]  then just plot each of those two above and combine them. But this could become really cumbersome since one could have a terribly complicated equation. So can this be done currently or someone needs a workaround to achieve this? excuse my english :) asked Jul 06 '12 Cosmos 1 ● 2 kcrisman 6639 ● 13 ● 66 ● 150

[hide preview]