「$ygradualdiv」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "This function is to determine how the segment is divided. There are two columns to fill in. The first column ''i'' should be filled in an integer 0, 1, or 2. : {| |'..." |
無編輯摘要 |
||
| 第6行: | 第6行: | ||
|- | |- | ||
|''i'' = 1: | |''i'' = 1: | ||
| Gradual. This means the segment is divided whether from small spacing to large spacing or in the opposite way. | | Gradual. This means the segment is divided whether from small spacing to large spacing or in the opposite way. The spacing is distributed like a geometric progression | ||
|- | |- | ||
|''i'' = 2: | |''i'' = 2: | ||
於 2018年3月13日 (二) 01:25 的修訂
This function is to determine how the segment is divided. There are two columns to fill in. The first column i should be filled in an integer 0, 1, or 2.
i = 0: Uniform. This means the segment is divided equally with the same spacing. i = 1: Gradual. This means the segment is divided whether from small spacing to large spacing or in the opposite way. The spacing is distributed like a geometric progression i = 2: Bump. This means the segment can be divided into two forms small-large-small or large-small-large.
The second column r should be filled in a real number. number 1 for gradual this means the spacing between each point becomes smaller.
| If r < 1 | If r = 1 | If r > 1 | |
|---|---|---|---|
| Uniform (0) | uniform | uniform | uniform |
| Gradual (1) | large -> small | uniform | small -> large |
| Bump (2) | large -> small -> large | uniform | small -> large -> small |
- Example
- Related commands