File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
Username:
Password:
Save Password
Forgot your Password?
|
Admin Options
All Forums
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
时序图如何设计?
New Topic
Reply to Topic
Printer Friendly
Author
Topic
nobrume
China
3 Posts
Posted - 06/09/2021 : 05:18:58 AM
用floating bar来显示一组动作之间的时序关系
数据如下:
category: 动作来源: 例如电机,机器手
actname: 动作名字
timeStart: 动作开始时间
timeEnd: 动作结束时间
interval: 动作时间
因为跟时序有关系,Y轴是连续的时间,精度到ms,
每个float bar , 起点是timeStart,终点是timeEndtime
要如何实现?
我用了很多方法都没实现,Y轴显示到毫秒都很难啊!~
附件不知道upload没有,为何没显示?
Edited by - nobrume on 06/09/2021 05:22:57 AM
nobrume
China
3 Posts
Posted - 06/09/2021 : 05:26:56 AM
https://my.originlab.com/ftp/forum_and_kbase/Images/icrd%20-%20%e5%89%af%e6%9c%ac1.opju
数据见附件
yuki_wu
896 Posts
Posted - 06/09/2021 : 05:32:16 AM
Hi,
可以参考以下例子:
https://www.originlab.com/www/products/GraphGallery.aspx?s=1&k=floating%20bar&sort=Newest
Regards, Yuki
OriginLab
nobrume
China
3 Posts
Posted - 06/09/2021 : 05:50:20 AM
哦,谢谢!
看了一下例子,有挺大差别,带时序的X轴,float bar在一个动作上是有间隔的
类似附件的样子!
这里面我可以分析各个动作之间的延迟,调整动作顺序。
例子没法表达出时间关系啊!~
Edited by - nobrume on 06/09/2021 05:51:49 AM
yuki_wu
896 Posts
Posted - 06/10/2021 : 01:37:11 AM
Hi,
要想画出例图所需的图形,只需要将 A, B, C 列分别设为 XYY,选中 A,B,C 列,选择菜单 Plot: Basic 2D: Floating Bar 即可得到 Graph1。
只是因为数据跨度范围比较大,但是部分数据又过于集中,要想更清楚的观察数据可以设置 Scale 截取部分数据,如 Graph2
Regards, Yuki
OriginLab
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000