0
plotting a line from an equation in Matplotlib
Is there a way to plot a line directly from an equation in Matplotlib? Either from "0 = Ax + By + C" form or "y = Mx + C" form. For example, I have a line with the coefficients 0.016, -0.015, and intercept -0.510, which can be expressed as 0 = 0.016x - 0.015 - 0.510 How can I plot this without manually figuring out points that fall on the line first?
0 ответов