Surfer 9 Guide
Surfer 9 Guide
Surfer 9 Guide
Contouring and 3D
Surface Mapping for
Scientists and
Engineers
The Surfer® program is furnished under a license agreement. The Surfer software
and getting started guide may be used or copied only in accordance with the terms of
the agreement. It is against the law to copy the software or getting started guide on
any medium except as specifically allowed in the license agreement. Contents are
subject to change without notice.
Surfer is a registered trademark of Golden Software, Inc. All other trademarks are the
property of their respective owners.
April 2009
Getting Started Guide
Table of Contents
Introduction to Surfer ....................................................................................... 1
Who Uses Surfer?......................................................................................... 2
System Requirements ...................................................................................... 2
Installation Directions ....................................................................................... 2
Updating Surfer ........................................................................................... 3
Uninstalling Surfer........................................................................................ 3
A Note about the Documentation........................................................................ 3
Surfer User Interface ........................................................................................ 4
Changing the Layout ..................................................................................... 5
Three-Minute Tour ........................................................................................ 6
Example Surfer Files ................................................................................. 6
Using Surfer ............................................................................................ 7
Using Scripter .......................................................................................... 8
Example Script Files .................................................................................. 8
Object Manager ........................................................................................... 8
Position ................................................................................................... 8
Object Visibility ........................................................................................ 8
Object Manager Tree ................................................................................. 9
Selecting Objects ...................................................................................... 9
Opening Object Properties ......................................................................... 9
Opening Map Properties ............................................................................. 9
Editing Object IDs..................................................................................... 9
Arranging Objects ..................................................................................... 9
Deleting Objects ....................................................................................... 9
Worksheet Window ...................................................................................... 10
File Types ...................................................................................................... 11
Data Files ...............................................................................................11
Grid Files ................................................................................................ 11
Boundary Files ........................................................................................ 11
Surfer Files ............................................................................................. 11
Gridding ........................................................................................................ 12
Introduction to Grid Files .............................................................................. 12
Grid Menu Commands .................................................................................. 12
Create a Grid File ........................................................................................12
Grid Line Geometry .................................................................................. 12
Gridding Methods .................................................................................... 13
Breaklines .............................................................................................. 16
Faults ....................................................................................................16
Map Layers .................................................................................................... 17
Map Types ..................................................................................................... 18
Base Map ............................................................................................... 18
Contour Map ...........................................................................................18
Post Map ................................................................................................ 18
i
Surfer
ii
Getting Started Guide
iii
Surfer
Getting Started Guide
Introduction to Surfer
Welcome to Surfer, a powerful contouring, gridding, and surface mapping program for
scientists, engineers, educators, or anyone who needs to generate maps quickly and
easily.
Surfer is a grid-based mapping program that interpolates irregularly spaced XYZ data
into a regularly spaced grid. Grids may also be imported from other sources, such as
the United States Geological Survey (USGS). The grid is used to produce different
types of maps including contour, vector, image, shaded relief, 3D surface, and 3D
wireframe maps. Maps can be displayed and enhanced in Surfer, allowing you to
produce the map that best represents your data. Adding multiple map layers,
customizing the map display, and annotating maps with text allows you to create
publication quality maps.
The grid files themselves can be edited, combined, filtered, sliced, queried, and
mathematically transformed. For example, create an isopach map from two grid files.
An isopach map shows the difference between two surfaces. You will need the original
surface grid file and the surface grid file after a volume of material was removed.
Subtract the two surfaces to create an isopach map. The resulting map displays how
much material has been removed in all areas.
The ScripterTM program, included with Surfer, is useful in creating, editing, and
running script files that automate Surfer procedures. By writing and running script
files, simple mundane tasks or complex system integration tasks can be performed
precisely and repetitively without direct interaction. Surfer also supports ActiveX
Automation using any compatible client, such as Visual BASIC. These two automation
capabilities allow Surfer to be used as a data visualization and map generation post-
processor for any scientific modeling system.
1
Surfer
System Requirements
The minimum system requirements for Surfer are:
Windows 2000, XP, Vista, or higher
512MB RAM minimum for simple data sets, 1GB RAM recommended
At least 100 MB free hard disk space
1024 x 768 or higher monitor resolution with a minimum 16-bit color depth
Installation Directions
Installing Surfer 9 requires logging onto the computer with an account that has
Administrator rights. Golden Software does not recommend installing Surfer 9 over
any previous versions of Surfer (i.e. do not install version 9.01 over version 9.00).
Please ensure that you install Surfer 9 into a new directory, which is the default.
Surfer 9 can co-exist with older versions (i.e. Surfer 8) as long as they are in
different directories.
2
Getting Started Guide
Updating Surfer
To update Surfer, open the program and select the Help | Check for Update
command. This will launch the Internet Update program which will check Golden
Software's servers for any updates. If there is an update for your version of Surfer
(i.e. Surfer 9.0 to Surfer 9.01), you will be prompted to download the update.
Uninstalling Surfer
Windows 2000 and XP: To uninstall Surfer, go to the Control Panel and double-click
on Add/Remove Programs. Select "Surfer 9" from the list of installed applications.
Click the Remove button to uninstall Surfer.
Vista: To uninstall Surfer when using the Regular Control Panel Home, click the
Uninstall a program link. Select "Surfer 9" from the list of installed applications. Click
the Uninstall button to uninstall Surfer 9.
Vista: To uninstall Surfer when using the Classic View, go to the Control Panel and
double-click on Programs and Features. Select "Surfer 9" from the list of installed
applications. Click the Uninstall button to uninstall Surfer 9.
If you prefer printed documentation, you may print the online help in part or in full.
See the Printing the Online Help section for more information.
Various font styles are used throughout the Surfer documentation. Bold text indicates
menu commands, dialog names, window names, and page names. Italic text indicates
items within a dialog such as group box names, options, and field names. For
example, the Save As dialog contains a Save as type drop-down list. Bold and italic
text occasionally may be used for emphasis.
In addition, menu commands appear as File | Open. This means, "click on the File
menu at the top of the Surfer window, then click on the Open command within the
File menu list." The first word is always the menu name, followed by the commands
within the menu list.
3
Surfer
The following table summarizes the function of each component of the Surfer layout.
5
Surfer
Three-Minute Tour
We have included several example files so that you can quickly see some of Surfer's
capabilities. Only a few example files are discussed here, and these examples do not
include all of Surfer's many map types and features. The Object Manager is a good
source of information as to what is included in each file.
Map Layers.SRF
The map layers sample file contains a map
with multiple map layers. The contour map
has partially transparent color fill to allow
the ability to see through to the shaded
relief map layer beneath it. The base map
layer contains two polygons that define an
area of interest on the map. The properties
of each polygon can be adjusted
individually. A color scale for the contour
fill values was added to the map.
Stacked Maps.SRF
The stacked maps sample file
contains two maps: a contour map
and a 3D surface map. The two maps
were created from the same grid file.
Both maps have a custom view with
a 30° tilt, 30° field of view, 300°
rotation, and an orthographic
projection. The maps were stacked to
align the two maps horizontally on
the page. The polylines were drawn
to create a custom display.
6
Getting Started Guide
Using Surfer
The general steps to progress from a XYZ data set to a finished, grid-based map are
as follows:
1. Create a XYZ data file. This file can be created in a Surfer worksheet window or
outside of Surfer (using an ASCII text editor or Excel, for example).
2. Create a grid file [.GRD] from the XYZ
data file using the Grid | Data
command.
3. To create a map, use the Map | New
command, select a map type, and use
the grid file from step two. Grid-based
maps include contour, image, shaded
relief, vector, 3D wireframe, and 3D
surface maps.
4. Double-click the map to open the map
properties dialog and customize your
map as needed.
5. Use the File | Save command to save
the project as a Surfer file [.SRF] that
contains all of the information needed The XYZ data can be created in
to recreate the map, including the data the Surfer worksheet.
file.
Gridding interpolates a Z value at the The post map layer shows the original
intersection of each row and column in data points. The contour map layer
the grid file, thereby filling holes in the shows the grid-based contour map.
data. Here the rows and columns are
represented by grid lines.
7
Surfer
Using Scripter
Tasks can be automated in Surfer using Golden Software’s Scripter program or any
ActiveX Automation-compatible client, such as Visual BASIC. A script is a text file
containing a series of instructions for execution when the script is run. Scripter can
be used to perform almost any task in Surfer. You can do practically everything with a
script that you can do manually with the mouse or from your keyboard. Scripts are
useful for automating repetitive tasks and consolidating a sequence of steps. Scripter
is installed in the same location as Surfer. Refer to the Surfer Automation help book
in the online help for more information about Scripter. We have included several
example scripts so that you can quickly see some of Scripter's capabilities.
Object Manager
The Object Manager allows access to all objects in the plot window. The Object
Manager contains a hierarchical list of the objects in a Surfer plot document. Objects
can be edited, arranged, and removed through the Object Manager.
Position
The Object Manager can be docked, floating, or minimized with
Auto Hide. To hide the manager, click on the button in the
upper right corner of the Object Manager. Click the button
to return the manager to docked mode. Drag the Object
Manager title bar to a new location to display as a floating
window or dock in a new location with the docking mechanism.
You can also double-click the Object Manager title bar to The docking
toggle between floating and docked modes. You can drag the mechanism has
sides of a floating window to change the window size. docking indicators.
Object Visibility
Each item in the list consists of an icon indicating the object type, a text label for the
object, and a check box. A checked box indicates that the object is visible. An empty
box indicates that the object is not visible. Click the check box to the left of an object
icon to change its visibility status. Invisible objects do not appear in the plot window
or on printed or exported output.
8
Getting Started Guide
Selecting Objects
Click on the object name to select an object. The
selection handles in the plot window change to indicate
the selected item. The status bar displays the name of
the selected object.
Arranging Objects
To change the display order of the objects with the mouse, select an object and drag it
to a new position in the list above or below an object at the same level in the tree. The
cursor changes to a black arrow if the object can be moved to the cursor location or a
red circle with a diagonal line if the object cannot be moved to the indicated location.
Objects can also be arranged using the Arrange | Order Objects menu commands or
by right-clicking on an object and selecting Order Objects.
Deleting Objects
To delete an object, select the object and press the DELETE key. Alternatively, you can
right-click on an object and select Delete.
9
Surfer
Worksheet Window
The components of the worksheet window are displayed below.
Worksheet Name
Active Cell Edit Box
Active Cell Column
Location Letters
Select Entire
Worksheet
Button
Active Cell
Row Numbers
The components of a worksheet window
shown above are shown above.
10
Getting Started Guide
File Types
Surfer uses four basic file types: data, grid, boundary, and Surfer files [.SRF].
Data Files
Data files contain the input data provided by the user. Data files are used to produce
grid files, post data points on a map, or generate a residuals log. These files are
generally referred to as "XYZ data files" or "data files" throughout the documentation.
Data can be read from various file types. Most data files contain numeric XY location
coordinates as well as optional numeric Z values. The Z values contain the variable to
be modeled, such as elevation, concentration, rainfall, or similar types of values.
XYZ data files contain the raw data Surfer interprets to produce a grid file. Before you
can create a grid file in Surfer, you must create an XYZ data file. XYZ data files must
be organized in column and row format. Surfer requires the X, Y, and Z data to be in
three separate columns. Surfer can read data that is in a projection. Data can be
projected in the worksheet. When using Latitude (Y) and Longitude (X) values, the
data must be in decimal degrees.
Grid Files
Grid files are used to produce several different types of grid-based maps, to perform
grid calculations, and to carry out grid operations. Grid files contain a regularly spaced
rectangular array of Z data organized in columns and rows. Grid files can be created in
Surfer using the Grid | Data command or can be imported from a wide variety of
sources.
Boundary Files
Boundary files contain XY location data such as state boundaries, rivers, or point
locations. Boundary files are used to layer a base map on another map, or to specify
the boundary limits for blanking, faults, breaklines, or slice calculations. Boundary files
can be created from a wide variety of vector formats.
Surfer Files
Surfer files [.SRF] preserve all the objects and object settings contained in a plot
window.
11
Surfer
Gridding
A grid is a rectangular region comprised of evenly spaced rows and columns. The
intersection of a row and column is called a grid node. Rows contain grid nodes with
the same Y coordinate. Columns contain grid nodes with the same X coordinate.
Gridding is the process of taking irregularly spaced XYZ data and generating a Z value
at each grid node by interpolating or extrapolating the data values. Surfer has several
different gridding methods. These gridding methods define the way in which the XYZ
data are interpolated when producing a grid file.
12
Getting Started Guide
In the Grid Data dialog, the Grid Line Geometry group allows you to specify
the grid limits and the grid density by entering the appropriate values.
Surfer computes the minimum and maximum X and Y values from the XYZ data file.
These values are used as the default minimum and maximum coordinates for the grid.
The direction that covers the greater extent (the greater number of data units) is
assigned 100 grid lines by default. The number of grid lines in the other direction is
computed so that the grid line spacing in the two directions are as close to one
another as possible.
Gridding Methods
Gridding methods produce a regularly spaced, rectangular array of Z values from
irregularly spaced XYZ data. The term "irregularly spaced" means that the points
follow no particular pattern over the extent of the map, so there are many "holes"
where data are missing. Gridding fills in these holes by extrapolating or interpolating Z
values at those locations where no data exists.
The differences between gridding methods are in the mathematical algorithms used to
compute the weights during grid node interpolation. Each method can result in a
different representation of your data. It is advantageous to test each method with a
typical data set to determine the gridding method that provides you with the most
satisfying interpretation of your data.
The grid method comparison on the next page uses the sample file DEMOGRID.GRD.
Refer to the Gridding Method Comparison topic in the online help for more information
about this gridding comparison.
13
Surfer
This is a comparison of the different gridding methods. For these examples, the same file,
DEMOGRID.DAT, was used. All the defaults for the various methods were accepted. This
data set contains 47 data points, irregularly spaced over the extent of the map. The data
point locations are indicated on a post map layer (solid circle symbols on the maps).
14
Getting Started Guide
This is a comparison of the different gridding methods. For these examples, the same file,
DEMOGRID.DAT, was used. All the defaults for the various methods were accepted. This
data set contains 47 data points, irregularly spaced over the extent of the map. The data
point locations are indicated on a post map layer (solid circle symbols on the maps).
15
Surfer
Breaklines
A breakline is a three-dimensional boundary file [.BLN] that defines a line with X, Y,
and Z values at each vertex. When the gridding algorithm sees a breakline, it
calculates the Z value of the nearest point along the breakline, and uses that value in
combination with nearby data points to calculate the grid node value. Surfer uses
linear interpolation to determine the values between breakline vertices when gridding.
Unlike faults, breaklines are not barriers to information flow, and the gridding
algorithm can cross the breakline to use a point on the other side of the breakline. If a
point lies on the breakline, the value of the breakline takes precedence over the point.
Breakline applications include defining streamlines, ridges, and other breaks in the
slope.
Faults
In Surfer, a fault is a two-dimensional boundary file [.BLN] that defines a line acting
as a barrier to information flow when gridding. When gridding a data set, data on one
side of a fault is not used when calculating grid node values on the other side of the
fault.
If the fault line is a closed polygon, the gridding algorithm will grid the data on the
side of the polygon where the data is located. If the fault line is not a closed polygon,
the gridding algorithm can search around the end of the fault to see a point on the
other side of the fault, but this longer distance reduces the weight of the point in
interpolating the grid node value. If a point lies directly on the fault line, random
round-off error determines which side of the fault captures the point.
The following gridding methods support faults: Inverse Distance to a Power, Minimum
Curvature, Nearest Neighbor, and Data Metrics.
16
Getting Started Guide
Map Layers
It is possible to combine several maps created from related data to create one map
object with multiple layers. You can add any combination of contour, base, post,
image, shaded relief, vector, or 3D surface maps. You can add any combination of
contour, base, post, and vector maps with 3D wireframe maps.
Map layers use a single set of X, Y, and Z axes and the maps are positioned according
to the composite coordinate system. If two or more maps use the same map limits,
they will overlay on top of one another. If maps cover adjacent areas, adding a map
layer places the two maps in the correct position relative to one another and creates a
single set of axes that span the entire range. Layered maps become a single object
and are moved and scaled as a single entity. The opacity value of each layer can be
adjusted to make a layer transparent or semi-transparent.
The Map | Add command allows you to add a map layer to the selected map. Most
combinations of map types can be layered. The combinations of map types that cannot
be layered include layering a 3D wireframe and 3D surface map, layering multiple 3D
wireframe maps, and adding a raster map layer to a 3D wireframe. Raster maps
include shaded relief maps, image maps, 3D surfaces, and base maps containing an
image.
Refer to the Introduction to Map Layers topic in the online help for additional
information about map layers.
17
Surfer
Map Types
Several different map types can be created, modified, and displayed with Surfer.
These map types include base, contour, post, classed post, image, shaded relief,
vector, 3D surface, and 3D wireframe maps.
Base Map
Base maps display boundaries on a map. Boundaries can
be areas, curves, points, and text. Base maps can be used
with other maps to show features such as roads, buildings,
streams, city locations, areas of no data, and so on. You
can overlay base maps by using Surfer layers. Base maps
can be produced from several file formats. Individual base
map object properties can be edited.
Contour Map
Contour maps are two-dimensional representations of
three-dimensional data. Contours define lines of equal Z
values across the map extents. The shape of the surface is
shown by the contour lines. Contour maps can display the
contour lines and colors or patterns between the contour
lines.
Post Map
Post maps and classed post maps show data locations on a
map. You can customize the symbols and text associated
with each data location on the map.
18
Getting Started Guide
Image Map
Image maps are raster images based on grid files. Image
maps assign colors based on Z values from a grid file.
Blanked regions on the image map are shown as a separate
color or as a transparent fill. Pixels can be interpolated to
create a smooth image.
Vector Map
Vector maps display direction and magnitude data using
individually oriented arrows. For example, at any grid node
on the map, the arrow points in the direction of the
steepest descent ("downhill") and the arrow length is
proportional to the slope magnitude. Vector maps can be
created using the information in one grid file (i.e. a
numerically computed gradient) or two different grid files
(i.e. each grid giving a component of the vectors).
3D Surface Map
3D surface maps are color three-dimensional
representations of a grid file. The colors, lighting,
overlays, and mesh can be altered on a surface.
Multiple 3D surface maps can be layered to create
a block diagram.
3D Wireframe Map
3D wireframe maps are three-dimensional
representations of a grid file. Wireframes are
created by connecting Z values along lines of
constant X and Y.
19
Surfer
Tutorial
The tutorial is designed to introduce you to some of Surfer's basic features. After you
have completed the tutorial, you should be able to begin to use Surfer with your own
data. We strongly encourage completion of the tutorial before proceeding with Surfer.
The tutorial should take less than an hour to complete. The tutorial can be accessed in
the program using the Help | Tutorial command.
Lesson 1 - Creating an XYZ Data File shows you how to import a data file and
how to create a new data file.
Lesson 2 - Creating a Grid File shows you how to create a grid file, the basis for
most map types in Surfer.
Lesson 3 - Creating a Contour Map shows you how to create a contour map
and change the contour map properties.
Lesson 4 - Posting Data Points and Working with Layers shows you how to
add a post map layer to display data points to the contour map. Both maps will
share the same axes, limits, and scaling.
Lesson 5 - Creating a 3D Surface Map shows you how to create a 3D surface
map and change the surface map properties.
Lesson 6 - Adding Transparency, Color Scales, and Titles shows you how to
add transparency, color scales, and titles to maps.
The lessons should be completed in order; however, they do not need to be completed
in one session.
Advanced lessons are available in the online help in the program (Help | Tutorial).
The advanced lessons are optional, but encouraged.
Starting Surfer
To begin a Surfer session:
1. Navigate to the installation folder, C:\Program Files\Golden Software\Surfer 9 by
default.
2. Double-click on the Surfer.EXE application file.
Surfer starts with a new empty plot window. This is the work area where you can
produce grid files, maps, and modify grids. If this is the first time that you have
opened Surfer, you will be prompted for your serial number. Your serial number is
located on the inside front cover of this getting started guide, or in the email download
instructions, depending on how you purchased Surfer.
20
Getting Started Guide
1. Choose the File | Open command, or click the button to select the XYZ data
file to display in the worksheet window.
2. Double-click on the SAMPLES folder. In the list of files, click TUTORWS.DAT and
then click the Open button to display the file in the worksheet window.
3. Notice that the X coordinate (Easting) is in column A, the Y coordinate (Northing)
is in column B, and the Z value (Elevation) is in column C. Although it is not
required, the header text (the text in row 1) is helpful in identifying the type of
data in the column, and this information is used in dialogs when selecting
worksheet columns.
21
Surfer
1. Choose the File | New | Worksheet command, or click the button. A new
empty worksheet window is displayed.
2. The active cell is selected by clicking on the cell or by using the arrow keys to
move between cells. The active cell is indicated by a heavy border and the
contents of the active cell are displayed in the active cell edit box. The active cell
location box shows the location of the active cell in the worksheet. Letters are the
column labels and numbers are the row labels.
3. When a cell is active, enter a value or text, and the information is displayed in
both the active cell and the active
cell edit box.
4. The BACKSPACE and DELETE keys
can be used to edit data as you type.
5. Press the ENTER key and the
information is entered into the cell.
6. To preserve the typed data in the
active cell, move to a new cell. Move
to a new cell by clicking a new cell
with the cursor, pressing one of the
arrow keys, or pressing ENTER.
The active cell has a heavy border. The cell B2
is the active cell in this example.
Saving the Data File
When you have completed entering all of the data:
1. Choose the File | Save command, or click the button. The Save As dialog is
displayed if you have not previously saved the data file.
2. In the Save as type list, choose the DAT Data (*.DAT) option.
3. Type the name of the file in the File name box.
4. Click the Save button and a Data Export Options dialog opens.
5. Accept the defaults in the Data Export Options dialog by clicking the OK button.
The file is saved in the Golden Software Data [.DAT] format with the file name you
specified. The name of the data file appears at the top of the worksheet window and
on the worksheet tab.
22
Getting Started Guide
23
Surfer
Use the Grid Data dialog to set gridding preferences and create a grid file.
The Data Columns group is used to specify the columns containing the X and Y
coordinates, and the Z values in the data file.
The Filter Data button is used to filter your data set.
The View Data button is used to see a worksheet preview of your data.
The Statistics button is used to open a statistics report for your data.
The Gridding Method group is used to specify the interpolation gridding
method and advanced options.
The Advanced Options button is used to specify advanced settings for the
selected gridding method.
The Output Grid File group is used to specify the path and file name for the
grid file.
The Grid Line Geometry group is used to specify the XY grid limits, grid
spacing, and number of grid lines (also referred to as rows and columns) in
the grid file.
The Grid Report option is used to specify whether to create a statistical report
for the data.
The Cross Validate button is used to assess the quality of the gridding method.
6. Click the OK button. In the status bar at the bottom of the window, a display
indicates the progress of the gridding procedure. By accepting the defaults, the
24
Getting Started Guide
grid file uses the same path and file name as the data file, but the grid file has a
[.GRD] extension.
7. By default, a Surfer dialog appears after gridding the data with the full path name
of the grid file that was created. Click the OK button in the Surfer dialog.
8. If Grid Report was checked in the Grid Data dialog, a report is displayed. You can
minimize or close this report.
To create a contour map of the TUTORWS.GRD file created in the previous lesson:
1. Choose the Map | New | Contour Map command, or click the button.
2. The Open Grid dialog is displayed. The grid file you created in lesson 2
(TUTORWS.GRD) should appear in the File name box. If the file does not appear in
the File name box, select it from the file list.
3. Click the Open button to create a contour map.
4. The map is created using the default contour map properties.
5. If you want the contour map to fill the window, choose the View | Fit to Window
command. Alternatively, if you have a wheel mouse, roll the wheel forward to
zoom in on the contour map. Push and hold the wheel button straight down while
you move the mouse to pan around the screen.
3. To change the contour range and interval, click the Level button and the Contour
Levels dialog is displayed. This shows the Minimum and Maximum contour level
for the map, the contour Interval, and the Data Limits of the grid file.
4. Double-click in the Interval box and type the value 10. Click the OK button and the
Levels page is updated to reflect the change. The contour interval for the map is
now 10. The minimum contour level is Z = 20, and the maximum contour level is
Z = 100.
5. Click the OK button in the contour map properties dialog and the map is redrawn
with the new contour levels.
26
Getting Started Guide
27
Surfer
Alternatively, you can click on the column header buttons to make bulk changes at
regular intervals or to the entire contour map. This provides a way to emphasize
contours at a regular interval, such as an index contour where every fifth line is bold.
Click on the Line column header button to open the Line dialog.
Use the Line dialog to set the properties of multiple lines at once.
This example creates an index contour, skipping four lines.
The Levels page in the contour map properties dialog shows a correspondence
between a level (the values under the Level button) and a color (the values under the
Fill button). The colors are used to fill in the space between the corresponding level
and the next higher level. For example, if the contour levels are 20, 30, 40, etc., then
the color corresponding to level 20 is used to fill in the space between the level 20
contour and the level 30 contour.
28
Getting Started Guide
To change the color spectrum, click the left node and then select a color
from the color palette, select a color spectrum from the Presets
drop-down list, or load a [.CLR] by clicking the Load button.
4. Click the OK button to return to the Fill dialog. The Foreground Color button is
now displayed as a gradation from blue to white.
5. Click the OK button to return to the Levels page.
6. Click the OK button and the contour map is drawn with the new fill.
29
Surfer
changes to a black arrowhead with a plus sign to indicate you are able to add a
new label. Add a 60 contour label to the lower left portion of the map.
4. To move a contour label, left-click on the label, hold down the left mouse button,
and drag the label. Release the left mouse button to complete the label move.
Move the 70 contour label on the right portion of the map to the north.
5. To duplicate a label, hold the CTRL key on the keyboard while holding the left
mouse button and drag the label to a new location.
6. To exit the Edit Contour Labels mode, press the ESC key.
Modifying an Axis
Every contour map is created with four map axes: the bottom, right, top, and left
axes. You can control the display of each axis independently of the other axes on the
map. In this example, we will change the contour spacing and add an axis label. 3D
maps have an additional Z axis. Additional X, Y, or Z axes can be added to a map with
the Map | Add command.
To modify an axis:
1. Move the cursor over one of the axis tick labels on the bottom X axis and left-click
the mouse. In the status bar at the bottom of the plot window, the words "Map:
Bottom Axis" are displayed. This indicates that you have selected the bottom axis
of the contour map. Additionally, blue circle handles appear at each end of the
axis, and green square handles appear surrounding the entire map. This indicates
that the axis is a "sub-object" of the entire map.
2. Double-click on the bottom axis to display the bottom axis properties dialog.
3. In the Title box on the General page, type "Bottom Axis" (without quotes) and
then click the Apply button. This places a title on the selected axis.
30
Getting Started Guide
If you would like to edit other axes, click on the axis. You do not need
to close the dialog before changing your selection.
4. If you cannot see the axis title, select View | Zoom | Selected. Notice that you
do not have to close the properties dialog to select menu commands, toolbar
buttons, or objects in the plot window.
5. Click on the Scaling tab to display the axis scaling options. In the Major Interval
box, type the value 1.5 and then click the Apply button. This changes the spacing
between major ticks along the selected axis.
6. Click on the General tab and then click the Label Format button to open the Label
Format dialog.
7. In the Label Format dialog, select the Fixed option in the Type group. Click on
the down arrow on the Decimal Digits box and change the value to 1. This
indicates that only one digit follows the decimal point for the axis tick labels.
8. Click the OK button in the Label Format dialog to return to the axis properties
dialog.
9. Click the OK button in the axis properties dialog and the map is redrawn. The axis
tick spacing and labels are changed, and the axis title is placed below the map.
31
Surfer
Saving a Map
When you have completed the map or drawing in the plot window, you can save the
map to a Surfer file [.SRF] containing all the information necessary to reproduce the
map. When you save a map, all the scaling, formatting, and parameters for the map
are preserved in the file. An asterisk (*) next to the file name in the title bar and tab
indicates the file has been modified and the modifications have not yet been saved.
To save a map:
1. Choose the File | Save command, or click the button. The Save As dialog is
displayed because the map has not been previously saved. Select a directory
where you can save the file.
2. In the File name box, type TUTORWS.
3. Click the Save button and the file is saved
to the current directory with an [.SRF]
extension. The saved map remains open
and the title bar changes reflecting the
changed name. There is no longer an
asterisk next to the file name.
Exporting 3D Contours
(Optional) When you have completed a contour
map in the plot window, you can export the
contour lines with associated Z values to an This is an example of a
AutoCAD DXF file, 2D SHP, or 3D SHP file. customized contour map
created from TUTORWS.GRD.
To export contour lines:
1. Select the map by clicking on the map in the plot window or by clicking on the
word "Contours" in the Object Manager.
2. Choose the Map | Export Contours command.
3. In the Save As dialog, type TUTORWS into the File name box, specify AutoCAD
DXF File (*.dxf), 2D ESRI Shape File (*.shp), or 3D ESRI Shape File (*.shp) in the
Save as type box.
4. Click the Save button and the file is exported to the current directory. This creates
a file titled TUTORWS.DXF or TUTORWS.SHP depending on what file type you
selected. If you export to a [.SHP] file, you will also have a [.DBF] and [.SHX] file
created. All three of these files are needed to import into some other programs.
32
Getting Started Guide
Add multiple map layers to an existing map to create one map object consisting of
multiple types of maps. The layers use a single set of axes and are positioned
according to the composite coordinate system. For example, if you have a contour
map of weather data created, you can add a post map layer displaying the location
and station names of each data collection station.
33
Surfer
If the post map is not visible, ensure that the post layer is on top of the contour layer
in the Object Manager. The order the layers are listed in a map object is the order
the map layers are drawn in the plot window. To move a map layer, left-click and drag
up or down in the map object. Alternatively, select the map layer and use the
Arrange | Order Objects command or right-click and select Order Objects.
34
Getting Started Guide
If you double-click on the "Tutorial Contour Map" layer in the Object Manager, notice
that the properties dialog title is set to Map: Tutorial Contour Map Properties.
When you rename an object in Surfer, the object's properties dialog reflects the name
change making it easier for you to keep track of the object you are editing. For
example, if you have eight maps in the plot window, it is beneficial to change the map
names to something meaningful to save time when trying to edit them. This is
especially important because the properties dialog can stay open when changing
selections.
To add labels:
1. Right-click on "Tutorial Post Map" layer in the Object Manager and select
Properties.
2. Click on the Labels tab. In the Worksheet Column for Labels group, click the drop-
down arrow and a list of columns in TUTORWS.DAT are displayed.
3. Select Column C: Elevation from the list.
4. Click the Format button to open the Label Format dialog.
5. Change the Type to Fixed and the Decimal Digits value to zero.
6. Click the OK button to return to the post map properties dialog, Labels page.
7. Click the OK button and the post map layer is redrawn with labels on each of the
data points.
35
Surfer
and choose Edit Post Labels. The cursor will change to a to indicate you are
now in post label editing mode.
3. Left-click on a label, hold the left mouse button down, and drag the label to a new
position. With the left mouse button held down, the arrow keyboard keys can be
used to nudge the label location. Release the left mouse button to place the label
in the new location. A lead line is automatically added from the point location to
the new label location by default. The leader line visibility and line properties are
controlled on the Labels page of the post map properties dialog.
4. Press the ESC key to exit the post label editing mode.
Before moving to the next lesson, be sure to save your progress with the File | Save
command. Your TUTORWS.SRF file will be saved to include all the additions from
Lesson 4.
36
Getting Started Guide
Adding a Mesh
Mesh lines can be applied to surfaces. 3D surface maps have more capability than 3D
wireframe maps. Adding mesh lines to a 3D surface map simulates a 3D wireframe
map.
To add a mesh:
1. Double-click on the 3D surface map to open the 3D surface properties.
2. Click the Mesh tab.
3. Check the X and Y boxes in the Draw Lines of Constant section.
4. Change the Frequency to five for the X and Y lines.
5. Click the OK or Apply button to add a mesh to the selected 3D surface.
37
Surfer
Changing Colors
Changing color schemes on 3D surfaces is similar to changing colors on other map
types such as image maps or contour maps. The Colormap dialog is used to load
previously defined color schemes, or to create your own color schemes.
Notice that the colors and anchor node positions have changed when a preset color
spectrum is selected. The Rainbow preset has six nodes that range from purple to red.
You can add, remove, customize the nodes, or accept the default selections.
You can continue to experiment with the colors by opening the Colormap dialog again
and selecting other color spectrum files from the Presets drop-down list or by loading
custom color files.
38
Getting Started Guide
When multiple 3D surfaces of differing elevations are added, the surfaces can intersect
and overlap each other. If the surfaces are adjacent to each other in the X or Y
direction, the surfaces are drawn side-by-side after using Map | Add. In this example,
we will add a plane with the surface you just created.
39
Surfer
Reducing the opacity of an object allows the ability to see through the object to other
objects. This may be useful when wanting to create a semi-transparent object. For
example, you may want to display a semi-transparent contour map over a base map
of a satellite image.
1. Select the File | New | Plot command, or click the button. A new empty plot
window is displayed.
2. Select the Map | New | Contour Map command.
3. Choose the grid file TUTORWS.GRD from the list of files in the Open Grid dialog,
click Open, and the map is created using the default settings. (TUTORWS.GRD,
created in Lesson 2 - Creating a Grid File, is located in Surfer's SAMPLES folder.)
40
Getting Started Guide
Adding Transparency
You can adjust the Opacity of a map layer, individual contour fill, polygon fill, text,
lines, or symbols in the appropriate properties dialog.
41
Surfer
42
Getting Started Guide
43
Surfer
Getting Help
The getting started guide is a quick way to learn about the basics in Surfer. There are
also other sources of help with Surfer.
Online Help
Extensive information about Surfer is located in the online help. To access the online
help, choose the Help | Contents command. You can navigate help using the
Contents, Index, Search, and Favorites pages in the navigation pane to the left of
the topic page.
Context-Sensitive Help
Surfer also contains context-sensitive help. Highlight a menu command, window
region, or dialog, press the F1 key, and help is displayed for the highlighted item.
You may also access context-sensitive help by pressing SHIFT+F1 or clicking on the
button. After clicking the button, the cursor appears like this . Simply
click the item for which help is required and the help dialog appears.
In addition, the dialog and Properties window contain a help button. Click the
button in the dialog title bar to obtain help for that dialog or click the Help button.
Clicking the button in the Properties window opens the help topic for the
displayed properties.
Internet Resources
There are several Internet help resources.
Direct links to the Golden Software home page (www.goldensoftware.com), the
Surfer product page, the knowledge base, and the Frequently Asked Questions
are available by selecting Help | Golden Software on the Web.
Click the Forums button at the top of the online help (Help | Contents) to post a
question.
Use the Help | Feedback commands to send a problem report, suggestion, or
information request by email directly to Surfer technical support.
44
Getting Started Guide
Technical Support
Golden Software’s technical support is free to registered users of Golden Software
products. Our technical support staff is trained to help you find answers to your
questions quickly and accurately. We are happy to answer all of your questions about
any of our products, both before and after your purchase. We also welcome
suggestions for improvements to our software and encourage you to contact us with
any ideas you may have for adding new features and capabilities to our programs.
If you encounter problems with Surfer, you are welcome to send an email message to
Golden Software using Help | Feedback | Problem Report
(surfersupport@goldensoftware.com). Report the steps you perform when the problem
occurs and include the full text of any error messages that are displayed. You are
welcome to attach a [.ZIP] file (8 MB maximum) containing the [.SRF] file and other
files that illustrate the problem. Larger files may be uploaded to our FTP site at
ftp://ftp.goldensoftware.ws/incoming/Surfer/.
Contact Information
Telephone: 303-279-1021
Fax: 303-279-0909
Email: surfersupport@goldensoftware.com
Web: www.goldensoftware.com (includes FAQs, knowledge base, support forum,
training videos, newsletters, downloads, and more!)
Mail: Golden Software, Inc., 809 14th Street, Golden, Colorado 80401-1866, USA
45
Surfer
Index
context-sensitive help · 44
3D surface map · 19, 37, 40, 42 contour map · 18
3D wireframe map · 19, 40, 42 3D DXF export · 32
3D SHP export · 32
color fill · 28, 29
A creating · 25, 40
export contours · 32
active cell · 10, 22 labels · 30
edit box · 10 levels · 26
location · 10 properties · 27
arrange objects · 5, 8, 9, 34 coordinates · 5, 11, 12, 21, 24, 33
automation · 8 creating maps · 7
axis customize toolbars · 5
labels · 31
modify · 30
scaling · 31 D
select · 30
tick spacing · 31 data · 23
ticks · 31 creating · 22
title · 30 files · 11
open · 21
post · 33
B decimal degree · 11
decimal digits · 31, 35
base map · 18 delete label · 30
bold text · 3 delete object · 9
boundary files · 11 DEM · 12
breaklines · 16 dialog title · 35
dock windows · 5
documentation · 3
C DXF · 32
46
Getting Started Guide
F H
47
Surfer
object
M arrange · 9
delete · 9
mailing address · 45 display order · 9
major interval · 31 ID · 9, 34, 35
map properties · 9, 25
3D surface · 19, 37, 40, 42 select · 9
3D wireframe · 19, 40, 42 visibility · 8
add · 30, 33, 39, 41 object manager · 5, 8, 25, 33, 34, 39
base · 18 auto hide · 8
classed post · 18, 35, 36 docking · 8
contour · 18, 25, 40, 42 floating · 8
creating · 7 sub-objects · 9
frame · 9 online help · 3, 8, 12, 13, 17, 43, 44
image · 19, 40, 42 opacity · 17, 34, 40, 41
layers · 1, 17, 33, 34, 39 open
limits · 9 Scripter · 8
new · 7, 25, 33 Surfer · 20
overlays · 1, 17, 33, 34, 39 overlays · 1, 17, 33, 34, 39
post · 18, 33, 34, 35, 36
properties · 9, 25, 34, 35
save · 32 P
scale · 9
shaded relief · 19, 41 plot window · 4
title · 42 post map · 18, 33, 34, 35, 36
titles · 40 print
types · 18 help · 43
vector · 19, 40, 42 online help · 43
view · 9 tutorial · 43
material color · 38 problem report · 44, 45
menu bar · 5 properties · 25
menu commands · 3, 12 map · 25
mesh · 19, 37 object · 25
N R
48
Getting Started Guide
S T
49
Surfer
U worksheet
column for labels · 35
uninstall · 3 create data file · 22
update Surfer · 3 name · 10
upper color · 38 window · 4
USGS DEM · 12
using Surfer · 7
X
W z values
breaklines · 16
web address · 45 color fill · 29
window contour · 18, 32
layout · 5 data files · 11
size · 8 grid node editor · 4
types · 4 gridding · 13, 24
windows image · 19
grid node editor · 5 wireframe · 19
plot · 5 zoom
tabbed · 5 in/out · 25
worksheet · 5 selected · 31
wireframe map · 19, 40
50