绘制log()函数图像,并在图上标注选定的两个点 import math import matplotlib.pyplot as plt if __name__ == '__main__': x = [float(i)/200.0 for i in range(1,400)] y = [math.log(i) for i in x] plt.plot(x,y,'r-',linewidth=3, label= 'log Curve') a = [x[30],x[205]] b = [y[30],y…