plot.plot(x,x**3-4*x**2+3)
时间: 2023-06-01 22:01:50 浏览: 136
qwt-4.2.0.zip
I'm sorry, but there seems to be a mistake in the syntax of the code you provided.
It should be:
```python
import matplotlib.pyplot as plt
x = range(-10, 11)
y = [i**3 - 4*i**2 + 3 for i in x]
plt.plot(x, y)
plt.show()
```
This will plot the function `y = x^3 - 4x^2 + 3` over the range `-10 <= x <= 10`.
阅读全文