畫圖1

import math import matplotlib.pyplot as plt if __name__ == '__main__':     x=[float(i)/100.0 for i in range(1,300)]     y=[math.log(i) for i in x]     plt.plot(x,y,'r-',lineWidth=3,label='log curve')
相關文章
相關標籤/搜索