找回密码
 注册
Simdroid-非首页
查看: 62|回复: 2

[命令/FISH] fish命令请教高手

[复制链接]
发表于 2013-8-7 20:38:02 | 显示全部楼层 |阅读模式 来自 浙江杭州
def slopeRezone
_rezcnt = _rezcnt + 1
oo = rez_exe('gen 0 0 0 20 30 20 30 0')
oo = rez_exe('mod mohr')
_toltab4
oo = rez_exe('gen table 4')
oo = rez_exe('mod null region 1,20')
end

def _toltab4
_ts = table_size(4)
xtable(4,1) = xtable(4,1) - 5.                         ??????
xtable(4,_ts) = xtable(4,_ts) + 5.                   ??????????????
end

def _autorez
command
rez set sep meth=slopeRezone
rez set surf from 1,11 to 31,21 tab 4
rezone
cycle continue
endCommand
end

set geom 0.25
set rez_func _autorez
plot grid
movie on file slope.dcx
movie step on 50
step 4000
请问????处的-5和+5是什么意思?谢谢了
发表于 2013-8-8 03:18:09 | 显示全部楼层 来自 美国
Simdroid开发平台
get the number from the table, and add/subtract 5, then put it back to the table
回复 不支持

使用道具 举报

 楼主| 发表于 2013-8-8 14:24:22 | 显示全部楼层 来自 浙江杭州
谢谢你,这个意思我是知道的,我想问的是在整个程序里面这个为什么要+ —5。它的含义是?
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-24 06:32 , Processed in 0.027843 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表