Path Distance - Vertical factor

439
2
Jump to solution
04-23-2012 06:42 AM
MathiasKP
New Contributor
Hello

In the Path Distance tool I would like to use my own vertical-factor graph instead of the predefined ones. Is the only way to do this using the table option or is there some way to use my own graph expressions directly so I don't have to write a line for every degree I want to include?

/Mathias
0 Kudos
1 Solution

Accepted Solutions
curtvprice
MVP Esteemed Contributor
Have you tried generating the table using spreadsheet software (like Excel)?

If you need to automate this, you could generate the table in Python easily enough:

>>> for k in range(0,181): ...   print "%6d %s" % (k,k ** 0.5) ...      0 0.0      1 1.0      2 1.41421356237 (snip)    177 13.3041346957    178 13.3416640641    179 13.3790881603    180 13.416407865

View solution in original post

0 Kudos
2 Replies
curtvprice
MVP Esteemed Contributor
Have you tried generating the table using spreadsheet software (like Excel)?

If you need to automate this, you could generate the table in Python easily enough:

>>> for k in range(0,181): ...   print "%6d %s" % (k,k ** 0.5) ...      0 0.0      1 1.0      2 1.41421356237 (snip)    177 13.3041346957    178 13.3416640641    179 13.3790881603    180 13.416407865
0 Kudos
MathiasKP
New Contributor
Thanks curtvprice you solved my problem 🙂
0 Kudos