| Knowledgebase Home | Contact |
| How can I change the axes settings? | |||||||||
You can change the settings of any axis by accessing each axis through the Axes collection. For more options for the axes, please see Help | Surfer Automation Help | Objects | Axis Object. Dim Axes As Object Dim XAxis As Object Sub Main Set SurferApp = CreateObject("Surfer.Application") SurferApp.Documents.Add(srfDocPlot) SurferApp.Visible = True Infile = SurferApp.Path + "\samples\demogrid.grd" Dim Doc As Object Set Doc = SurferApp.Documents.Add Dim MapFrame As Object Set MapFrame = Doc.Shapes.AddContourMap(GridFileName:=Infile) Dim ContourMap As Object Set ContourMap = MapFrame.Overlays(1) Dim Axes As Object Set Axes = MapFrame.Axes Dim Axis As Object For Each Axis In Axes Axis.ShowLabels = False Axis.MajorTickType = srfTickNone Axis.MinorTickType = srfTickNone Next Axis End |
| Visitor Comments |
| No visitor comments posted. Post a comment |
| Related Questions |
| Attachments |
| No attachments were found. |