| 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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.