Follow

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

This article provides a Surfer 15 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.

 

Example:

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

 

Updated October 9, 2017

 

 

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

0 Comments

Please sign in to leave a comment.