Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try using implicit_plot so you don't have to solve the equation for y in terms of x.

f = lambda x,y:y^2-3*x-5*y+7
p1=implicit_plot(f, (-4, 4), (-2, 6))
p2= point((1/4, 5/2), size = 45, color='red')
p0=p1+p2
show(p0)

This will do it... you can add your own features.