The Origin Forum
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)
 grouped box chart连接线的绘制
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kehu

13 Posts

Posted - 07/26/2019 :  7:08:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: origin pro 2018

我利用grouped box chart-raw绘制好了grouped bar图,想用连接线分别连接两组动物(深蓝色和浅蓝色)不同时间点的均值。但是在plot details-connection line 里面只能设置为(1)不选择connect supgroup,连接线将所有的均值连接在一起 (2)选择connect subgroup, 连接线会将同一时间点的不同两组的均值连在一起。按照我的设想,我应该得到两条连接线,分别连接深蓝色和浅蓝色两组动物的均值,从而动态体现两组均值的差异性,请问如何可以实现?谢谢!

yuki_wu

896 Posts

Posted - 07/29/2019 :  05:04:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
目前暂时没有什么方便快捷的方法实现这个功能,只能分几步实现:

1. Plot a grouped mean bar chart with source data
2. Select Menu: Statistics: Descriptive Statistics on Column to calculate the mean value for every group


3. Go to worksheet “DescStatsQuantities1”, right-click on column A and select Insert to add a new column at the left of column A
4. Fill the new column with row number, and right click to set as X
5. Select menu: Worksheet: Sort Worksheet: Custom
6. Select Animal in the left panel, click Ascending; then select Week in the left panel, click Ascending

7. Select row 4 and insert a blank row
8. Select column(Mean) to plot a line+symbol plot

9. Select Menu: Graph: Merge Graph Window to merge grouped bar chart and scatter plot

10. Right-click layer icon to select Layer Management and link these layers


Regards,
Yuki

OriginLab
Go to Top of Page

kehu

13 Posts

Posted - 07/29/2019 :  11:45:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
谢谢你的答复。我想知道,你的第一步Plot a grouped mean bar chart with source data是如何操作实现的?因为我直接用了grouped box chart-raw,数据结构似乎与你的不一样。烦请再演示一下,谢谢!
Go to Top of Page

kehu

13 Posts

Posted - 07/30/2019 :  8:59:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
问题解决了,多谢多谢!
Go to Top of Page

kehu

13 Posts

Posted - 07/31/2019 :  01:03:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
不好意思啊,还是上面这张图。后来发现有个小问题没有解决。版主介绍的步骤8.Select column(Mean) to plot a line+symbol plot.我做出来的图两根线是同样颜色,无法分别改变颜色。按照一般理解,应该是进行了分组才能进行分别设定颜色。但是直接做line+symbol plot并不能实现此功能。
还望版主不吝赐教!
Go to Top of Page

yuki_wu

896 Posts

Posted - 08/01/2019 :  01:32:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

画好 Line + Symbol 的双击图形打开 Plot Details dialog:
1. Select line + symbol plot in the left panel
2. Go to Line tab
3. Click Color drop-down list and select By Point
4. Select Indexing and then select Column(C): Animal from the list
5. Go to Symbol tab
6. Select Auto for Symbol Color or repeat the step 3 and step 4
7 Click OK button

Regards,
Yuki

OriginLab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000