Why is arcpy.StackProfile_3d -> arcpy.SaveGraph_management creating empty graph?

المشرف العام

Administrator
طاقم الإدارة
In a python script I'm trying to save a graph to a .png file with graph output from arcpy.StackProfile_3d but the .png file shows an empty graph. The table created from arcpy.StackProfile_3d shows values. Does anybody know why the graph is still empty?

import arcpy # Set Local Variables profileLine = "C:/temp/data.gdb/profile" profileTargets = "C:/temp/data.gdb/raster" profileTable = "C:/temp/value.dbf" graphName = "Sample Graph" outGraph = "C:/temp/graph.png" # Execute StackProfile arcpy.StackProfile_3d(profileLine, profileTargets, profileTable, graphName) # # Execute SaveGraph arcpy.SaveGraph_management(graphName, outGraph, "MAINTAIN_ASPECT_RATIO")




أكثر...
 
أعلى