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

[后处理] 如果在HG里 使用TCL 选择曲线进行处理

[复制链接]
发表于 2016-7-5 15:29:43 | 显示全部楼层 |阅读模式 来自 北京朝阳
hwi ReleaseAllHandles
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle plot1
#对曲线求导
plot1 GetCurveHandle curve_temp2 [plot1 AddCurve]
curve_temp2 GetVectorHandle xvector_temp2 x
curve_temp2 GetVectorHandle yvector_temp2 y
xvector_temp2 SetType math
yvector_temp2 SetType math
set curve1_xpwc [xvector_temp2 GetMathReference]
set curve1_ypwc [yvector_temp2 GetMathReference]
xvector_temp2 SetExpression $curve1_xpwc
yvector_temp2 SetExpression derivative($curve1_xpwc,$curve1_ypwc)
发表于 2016-12-6 00:51:01 | 显示全部楼层 来自 湖南
Simdroid开发平台
请问大神代码能看懂吗?用来算啥?
回复 不支持

使用道具 举报

 楼主| 发表于 2018-3-12 15:29:02 | 显示全部楼层 来自 北京
xel026112 发表于 2016-12-6 00:51
请问大神代码能看懂吗?用来算啥?

能看懂  只是不一定成功  现在我一般不纠结细节了 软件如果支持得好 就多用一会  如果不支持 直接换软件
回复 不支持

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 09:38 , Processed in 0.027669 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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