#automated fitting of residuals #replace variable number and name in the document data(depth): 'depth_slope.eas', x=1,y=2,v=5; #set initial variogram variogram(depth): 0 Nug(0) + 4 Exp(2000); #fit the variogram automatically method: semivariogram; set fit=7; #write down the fitted variogram model and gnuplot set output= 'var_depth.cmd'; set plotfile= 'var_depth.plt';