擅长:python、mysql、java
<p>这是你的黑客,Sympy的<code>Plot</code>对象的<code>.extend()</code>方法</p>
<pre><code>import sympy as syp
x, y = syp.symbols('x, y')
Eq0 = - 2*x + y**2 - 5
Eq1 = x**3 + syp.sin(y) - 10
p0 = syp.plot_implicit(Eq0, (x, -50, 50), (y, -50, 50), show=False)
p1 = syp.plot_implicit(Eq1, (x, -50, 50), (y, -50, 50), show=False, line_color='r')
p0.extend(p1)
p0.show()
</code></pre>
<p><a href="https://i.stack.imgur.com/3X6W1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3X6W1.png" alt="enter image description here"/></a></p>