若要在每个tick上显示网格线,请添加 plt.grid(True). 例如: import matplotlib.pyplot as plt points = [ (0, 10), (10, 20), (20, 40), (60, 100), ] ...
確定! 回上一頁