📜  matplotlib 显示日志或 logit 的网格 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:21.693000             🧑  作者: Mango

代码示例1
import numpy as np
from matplotlib import pyplot as plt

x = np.arange(0, 100, .5)
y = 2 * x**3

plt.loglog(x, y)
plt.grid(True, which="both")
plt.show()