Ask Your Question

Revision history [back]

The plot will work if you provide a function:

sage: x = SR.var('x')
sage: f = -2*x/3
sage: plot(f,-1,1)

In your case, f is an equation, so you need to use implicit_plot as follows:

sage: x,y = SR.var('x y')
sage: f = (2*x + 3*y == 0)
sage: implicit_plot(f,(-1,1),(-1,1))