Label a classed post map legend with text values instead of the numeric range in Surfer

Classed post maps can display a specific symbol for data within a specific numeric range, or bin. However, in some cases, you want the legend to display an actual text value instead of a numeric range. In this case, include a name for each class and choose to have the legend display the name for the class instead of the numeric range.

For example, if you want to display well symbols, you can create a column of data containing numeric value for each type of well (e.g. 1=gas, 2=oil, 3=injection, and 4=abandoned). Then create a classed post map and specify the symbol for each numeric range. The legend by default will display the symbol for the well in addition to the numeric range. You may want to display the text of the well type instead of the number. 

To do this:

  1. Create the classed post map and select the Classed Post layer in the Contents window.
  2. In the Properties window, click the Classes tab and click the Edit Classes button.
  3. In the Classes for Map dialog, under the Name column, change the name of each class from the default (e.g. Class 1) to what you want the legend to show for that class.
  4. Click OK.
  5. To show the legend, click Map Tools | Add to Map | Legend.
  6. Select the Legend in the Contents window.
  7. In the Properties window, on the Layers page, edit the Template to show the name.  The default is \symbol \lower to \upper, which shows the symbol and the lower to upper values. If you want to display the class name, change this to \symbol \name. Each class in the legend is now labeled with the class name.

Classed post map with legend displaying names created in Surfer


Updated November 12, 2021

Was this article helpful?
2 out of 7 found this helpful



Please sign in to leave a comment.