1.对数函数 import math import matplotlib.pyplot as plt import numpy as np if __name__ == '__main__': x = np.arange(0.05,3,0.05) y1 = [math.log(a,1.5) for a in x] plt.plot(x,y1,linewidth=2,color='#007500',label='log1.5(x)') plt.plot([1,1],[y1[0],y1[-1]],"…