Author Topic: Posting custom data point labels in Surfer  (Read 3399 times)

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 3194
  • Other duties as assigned...
    • Probe Software
Posting custom data point labels in Surfer
« on: April 18, 2018, 03:23:05 PM »
Once we have created .GRD files of our images and .DAT tab delimited (or Excel files) containing our data point label information, we can start Surfer and load our GRD file by clicking the Color Relief plot icon and select our .GRD file as seen here:

Note that when you first load a GRD file using the color relief option (red outline #1) it will display the image with "hill shading" (it's a feature not a bug!). So to turn off hill shading, simply uncheck the checkbox labeled Enable Hill Shading (red outline #2).  We then click the Post icon (red outline #3) and we can see our data points displayed as seen here:

Note that one can select either a Post or a Classed Post option.  The Post option displays the data point symbols as a specified size, while the Classed Post option displays data point symbols related to a data column. So for example one could make the symbol size proportional to the data value.

However, we notice that the point symbols are not aligned to the color relief image stage coordinates, so we need to select both the post layer by clicking it, and also the color relief image using <shift> click, and then click the Map Tools tab and then click the Overlay Maps icon as seen above. Once we do that our image and data points share the same coordinate system and we can start customizing them.  First let's change the data point symbols from crosses to circles as seen here:

So now our map looks like this:

So now let's add some data point labels as shown here:

In this case we simply selected the .DAT file output from Probe for EPMA along with our image so we are simply displaying the data point line numbers. But note that this .DAT file could be any tab delimited (or Excel) file containing our X, Y stage coordinates and other data columns which can be also output from Probe for EPMA.
« Last Edit: April 12, 2020, 10:00:47 PM by John Donovan »
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"


  • Graduate
  • **
  • Posts: 9
Re: Posting custom data point labels in Surfer
« Reply #1 on: November 26, 2018, 03:34:08 PM »
A few notes to streamline this process:

1. When making an Excel sheet with the data point label info, it's important to start with X and Y positions, it's important that the X position be in the first column & the Y position be in the second.

2. When working with a BSE or CL image, choose Map --> New --> Image Map. After you've uploaded it, click on the map layer and then Map --> Add --> Post Layer. Choose the excel file you made. Everything should be in the right place.

3. If, like me, you do not want to display decimals, change the default label format from "compact" to "fixed" and change the decimals option to 0.

Resultant Image

« Last Edit: November 26, 2018, 03:51:52 PM by John Donovan »
Marisa D. Acosta