Knowledgebase Home | Contact Knowledgebase Home| Contact
Search the Knowledgebase Browse by Category
When overlaying base maps in a script how do you assign a label to each map?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
There are two steps to naming your maps:

1. Name the "frame" or "container" that holds the map and axes
2. Name the "contents" or "overlays", i.e. the actual maps.

When you click on a map interactively in Surfer, the status bar in the lower left corner of the window reports the map frame to the left of the colon and the overlay to the right of the colon, as in "Map: Base".

'To name the parameters in the Scripter, first name the map.
frame (left side of colon).
...MapFrame1.Name = "Frame1"

'The next step is to name the overlay map (right side of colon)
...ContourMap.Name = "Base97"

'If you stop the script here, the ID displayed in the status bar is:
..."Frame1: Base97"

For an example script that demonstrates how to name components of a map, use the free Scripter script Naming.BAS.

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Post Comment for "When overlaying base maps in a script how do you assign a label to each map?"
To post a comment for this question, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
Continue
Powered by ActiveKB Knowledgebase Software

Home * Products * Gallery * Support * About Us * Register * Order * Demos