How can I change the contour map level method via Surfer 16 automation?

This article provides a Surfer 16 script snippet for changing the contour map level method.


You can set the levels to the Simple level method in Surfer using the .LevelMethod property of the ContourLayer object. This property was first included in Surfer 13 and is not available in previous versions of Surfer.



Set MapFrame = Plot.Shapes.AddContourMap(GridFileName:=SurferApp.Path + "\samples\demogrid.grd")
Dim ContourLayer As Object
Set ContourLayer = MapFrame.Overlays(1)
ContourLayer.LevelMethod = SrfConLevelMethodSimple


Updated November 12, 2018



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.