'=========================================== 'Visibility of Axis OFF.bas '=========================================== 'Shows how to turn off the visibility of an axis, like unchecking the check box for 'the axis in the Contents window in the UI. '=========================================== Sub Main 'Initializes Surfer Dim SurferApp, Plot, MapFrame, Axes As Object Set SurferApp = CreateObject("Surfer.Application") SurferApp.Visible = True Set Plot = SurferApp.Documents.Add 'Creates a contour map Set MapFrame = Plot.Shapes.AddContourMap(GridFileName:=SurferApp.Path+"\samples\demogrid.grd") 'Turns off the visibility of the bottom axis MapFrame.Axes("Bottom axis").Visible=False End Sub