logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How is the grid spacing or # of lines calculated in the Grid Data dialog?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
By default in the Grid Data dialog box, Grid Line Geometry section, there will be 100 grid lines in the longest direction. The grid spacing will be calculated for that direction, the same grid spacing applied to the shortest direction, and the # of lines for the shortest direction will be calculated.

The grid spacing is the distance between grid lines and is calculated by:
       (Maximum-Minimum) / (#lines – 1)

The number of lines is calculated by:
       ((Maximum-Minimum) / spacing) + 1

For example:


The X direction is the longest direction. Surfer enters 100 for the # of lines, and the spacing is then:
       (9-0) / (100-1) = 9 / 99 = 0.09090909091

Then, the same spacing is applied to the Y direction, and the # of lines for the Y direction is calculated:
       ((7-0) / 0.09090909091) + 1 = 77+1 = 78

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products