You can set the level method to Simple, Logarithmic, or Advanced 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
The sample scripts ContourMap_Simple.bas, ContourMap_Advanced.bas, and ContourMap_Logarithmic.bas found in C:\Program Files\Golden Software\Surfer\Samples\Scripts may also be of use.
Updated November 2021
Please sign in to leave a comment.