To format axes on a Surfer map with dates or times, follow these steps:
- Create the map using dates or times for the X or Y data. See: How can I grid my data using date/times?
- Select the axis in the Contents window.
- In the Properties window, click on the Labels page, expand the Label Format section.
- Set the Type to Date/time.
- You then can specify the particular Date format or Time format desired.
If you are using Surfer 11 or a previous version, or want to label the axes with text from a column in the worksheet, create additional post maps along the axis locations, overlay the post maps, and label the points.
For example, in many cases users of Surfer 11 (or previous) want date labels along their axes. The data could have been gridded using Julian dates, but you want to convert the Julian dates back to regular dates for the axis labels.
To label the bottom axis on a map with dates, follow these steps:
- Select the Bottom Axis in the Object Manager for the map (or whatever axes shows the Julian date values).
- In the Property Manager, on the General page uncheck the Show checkbox.
- On the Ticks page set the Major Ticks and Minor Ticks styles both to None.
- Select the Map in the Object Manager, and in the Property Manager, on the Limits page, note the Y minimum value for the map.
- Open the Surfer worksheet, or an Excel worksheet, and create a data file with 3 columns of data for all the tick marks and labels you would like to see on the axis:
- X value (the actual X value, Julian dates in this case)
- Y minimum value of the map (this will be the same Y value for all points)
- label corresponding to the X value on the same row (whatever you want for the axis labels, the date/time formatted dates in this case)
- Select the map and click Map | Add | Post Layer, select the data file and click Open. If you are asked if you want to adjust the map limits, click No.
- Select the post map and in the Property Manager, make sure the post map uses the first two columns of data for the X and Y columns and uses the "+" symbol.
- Click the Labels tab and set the label column to be the column containing the label data, and choose to position the labels below the symbol.
- If you want to make adjustments to the date labels, select the post map, and in the Property Manager click the Labels tab, and make font adjustments or placement changes here.
See also: How can I grid my data using date/times?
Updated October 20, 2017