Is there a way to adjust the axis limits in the built-in graph tool in ArcMap?
I have looked all over and cannot find it. It would be easier to just adjust the axes than to save a new shapefile with the extra points removed.
Is there a way to adjust the axis limits in the built-in graph tool in ArcMap?
I have looked all over and cannot find it. It would be easier to just adjust the axes than to save a new shapefile with the extra points removed.
I hope example below will kick-start you using matplotlib module with ArcGIS.
Table:
Script:
import arcpy
import matplotlib.pyplot as plt
inFc = r'C:\SCRATCH\SCRATCH.gdb\points'
tbl=arcpy.da.TableToNumPyArray(inFc, ("D_ALONG","Z"))
line,=plt.plot(tbl["D_ALONG"],tbl["Z"])
plt.title("Rangitoto Caldera")
plt.savefig('F:/AERIALS/PNGs/Example.png')
Output: