通过xticks( )函数可以给X轴的刻度重新赋值,同理也可以用yticks( )函数给Y轴的刻度重新赋值。这里仍然用到linspace( ). import matplotlib.pyplot as ...
確定! 回上一頁