Golden Software Blog

Helping you learn more about the latest product information, tips, tricks, techniques, and customer stories so you can visualize data and communicate results with ease.
Font size: +

Edit Contour Lines with Surfer

The ability to edit contour lines is one of Surfer’s most highly requested features, and we are pleased to report this feature is available in the latest release!

A contour map is a two-dimensional representation of a surface where the surface is represented by contour lines. A contour line connects points of equal elevation, and the distance between contour lines represents the relative slope of the surface.

 3D surface map and 2D contour map displayed in Surfer.

When creating a contour map in Surfer from XYZ data points, the raw data is first interpolated, and a grid file is created. The contour map is then created from the grid file which contains X, Y, and Z values. It is by editing the Z-values in the underlying grid file that one can edit the lines of the contour map.

Why edit contour lines? There may be times when your dataset doesn’t contain enough detail of the area you’re mapping. Other times, the interpolation method used may not work well with your dataset and omit important information. In these situations, you can edit the Z-values in the underlying grid for a more accurate representation of the mapped area.

Surfer’s grid editor window makes it very easy to change grid node values and see how the change affects the contour map. The dialog, as you can see below, displays the individual nodes and will also display the contour lines along with the color fill, if you so choose.

Surfer grid editor window. Edit individual grid nodes or apply brush tools to change multiple grid nodes at once.

Surfer’s grid editing tools are similar to the drawing tools found in Adobe’s Photoshop or other image editing programs. Open the grid you wish to edit, select a tool, and use your mouse to edit the grid directly on your screen. Here is the list of the grid editing tools:

  • Brush: apply the same z-values to an area by painting the area with the brush.
  • Warp: distort or transform the z-values to create a new shape of the contour lines
  • Smooth: create a continuous transition from one z-value to the next to remove sharp edges along contour lines
  • Push Down: reduces the z-values within an area
  • Pull Up: increases the z-values within an area
  • Eraser: deletes the z-values

When you select a tool, you can also change the tool settings in the tools options bar at the top of the grid editor window for more control over your grid changes:

  • Brush Size: changes the size of the tool used to edit the grid. The larger the size, the more grid nodes you will change at once.
  • Density: controls the weighting of the tool effect radially from the center of the brush. Density levels are between 1 and 100 where 1 has very “feathered” changes and 100 applies the tool to all nodes within the brush equally.
  • Pressure: controls the speed at which tool effects are applied as the brush moves. Pressure levels are between 1 and 100 where 1 has the minimum effect with each click or drag and 100 applies the maximum tool effect.
  • Z Value: displays the Z value for the active grid node (select and eyedropper tools) or the Z value you wish to apply to the grid nodes (brush tool).

In this quick video, you can see me removing a hill from my grid and adjusting the surrounding contours. It’s fun to play around with the grid editor, so give it a try in the Surfer trial! For detailed steps on editing grids, read How can I edit my Surfer grid?



No comments made yet. Be the first to submit a comment
Tuesday, 21 March 2023

Captcha Image

Subscribe To Our Blog

Most Popular

Over the years, one of the most common questions asked is “How can I get my contour map out of Surfe...
Creating a map of slopes is common practice when looking at slope stability. Some examples of when y...
I'm pleased to introduce our first ever guest blogger, Scott Carter, Owner and Creative Director of ...

Exceeding expectations

Our customers

Go to top