Two questions, how to turn off divide by 0 warnings and how to draw a line over a plot. I was trying to draw a horizontal line at the equilibrium solution at y = -3.

set_verbose(-1) #Turn off warning
s1 = -3
p1 = plot_slope_field(((y+3)/(1-y)), (x,-6,6), (y,-6,6)).show(aspect_ratio=1)
p2 = plot(s1)
show (p1+s1)

Thanks,
-d


--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to