how to create graphs while running python with ArcGIS 10
Furthermore I tried it like you suggested by exporting the graph as a file. Therefore I tried this one: from pylab import * plot ( arange(0,10),[9,4,5,2,3,5,7,12,2,3],'.-',label='sample1' ) plot ( arange(0,10),[12,5,33,2,4,5,3,3,22,10],'o-',label='sample2' ) xlabel('x axis') ylabel('y axis') title('my sample graphs') legend(('sample1','sample2')) savefig("c:\sampleg.png",dpi=(640/8)) Anyway if I run it with ArcGIS I still get the message: <type 'exceptions.ImportError'>: No module named pylab Failed to execute (Script).