I want to create a semi-logarithmic scatter plot and add an exponential trend line to the graph. I would also like to limit the x and y (log y) axes extent with their highest value. Also want to define the interval of the x and y axes.
I have tried with the following code
>>> import numpy as np
... import matplotlib.pyplot as plt
... x= [r for r in arcpy.da.SearchCursor(fc,'Year') if not r  is None]
... y= [r for r in arcpy.da.SearchCursor(fc,'SMI') if not r  is None]
... ylog= np.log(y)
... plt.scatter(x, ylog)
... curve_fit= np.polyfit(x,ylog,1)
But have got the attached result (Please find the attached fig.).